Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snapmaker-baxis.cps #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions snapmaker-fusion360-configuration-20180730/snapmaker-baxis.cps
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
FORKID {CB457AE9-77B4-4F88-B95A-4DC6980DBE3D}
*/

description = 'FANUC - Inverse Time and A-axis';
vendor = 'Fanuc';
vendorUrl = 'http://www.fanuc.com';
description = 'Snapy B-axis DPM_COMBINATION';
vendor = '';
vendorUrl = '';
legal = 'Copyright (C) 2012-2018 by Autodesk, Inc.';
certificationLevel = 2;
minimumRevision = 40783;

longDescription = 'Generic Fanuc post illustrating inverse time feed with an A-axis.';
longDescription = 'Generic Snapmaker post using DPM with B-axis.';

extension = 'cnc';
programNameIsInteger = true;
setCodePage('ascii');

capabilities = CAPABILITY_MILLING;
tolerance = spatial(0.2, MM);
tolerance = spatial(0.002, MM);

minimumChordLength = spatial(10, MM);
minimumCircularRadius = spatial(10, MM);
Expand Down Expand Up @@ -452,6 +452,8 @@ function onOpen() {
preference: 1
});
machineConfiguration = new MachineConfiguration(bAxis);

machineConfiguration.setMultiAxisFeedrate(FEED_DPM, 2400, DPM_COMBINATION, 0.1, 1);

setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(1); // map tip mode
Expand Down