Posted g-code refers to the Setup WCS rather than tool orientation in Fusion 360, HSMWorks, or Inventor HSM

Autodesk Support

Oct 8, 2023


Products and versions covered


Issue:

G-code that is posted without DWO (Dynamic Work Offset) still refers to the Setup WCS rather than the tool orientation origin for the operation in Fusion 360, HSMWorks, or Inventor HSM. 

Causes:

This is expected behavior, the g-code posted will refer to the Setup origin. The tool orientation defines the cutting plane on a part.

Solution:

The post processor can be edited to use the tool orientation origin rather than the setup origin when posting:
 
  • Add the line "mapWorkOrigin = true;" under the following code in the initial post properties:
minimumChordLength = spatial(0.01, MM);
minimumCircularRadius = spatial(0.01, MM);
maximumCircularRadius = spatial(1000, MM);
minimumCircularSweep = toRad(0.01);
maximumCircularSweep = toRad(355);
allowHelicalMoves = true;
allowedCircularPlanes = undefined; // allow any circular motion
allowSpiralMoves = true;
highFeedrate = (unit == IN) ? 650 : 5000; // up to 650 should be supported
mapWorkOrigin = true

Products:

Autodesk HSM; Fusion; Inventor CAM;


Was this information helpful?


Need help? Ask the Autodesk Assistant!

The Assistant can help you find answers or contact an agent.


What level of support do you have?

Different subscription plans provide distinct categories of support. Find out the level of support for your plan.

View levels of support