Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Steinwerks
in reply to: hoptownhandles

The post appears to be set up so the A axis is rotating around X.

 

Find this section:

 

  if (true) { // note: setup your machine here
    var aAxis = createAxis({coordinate:0, table:false, axis:[1, 0, 0], range:[-360,360], preference:1});
    var cAxis = createAxis({coordinate:2, table:false, axis:[0, 0, 1], range:[-360,360], preference:1});
    machineConfiguration = new MachineConfiguration(aAxis, cAxis);


    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(0); // TCP mode
  }

It's directly after 'function onOpen'

 

Change this line:

 

    var aAxis = createAxis({coordinate:0, table:false, axis:[1, 0, 0], range:[-360,360], preference:1});

to this:

    var aAxis = createAxis({coordinate:0, table:false, axis:[0, 1, 0], range:[-360,360], preference:1});

 You can do this in any text editor. That specific line is 157 in Notepad++

Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube