Siemens 828d Post Processor For Fusion 360 -

function processSection(section) if (section.is3D()) onLinear3D(section); else if (section.is2D()) onLinear2D(section); else if (section.isCircular()) onCircular(section); else if (section.isCycle()) onCycle(section); else if (section.isRapid()) onRapid(section);

// Linear movement - 2D function onLinear2D(section) var x = section.getX(); var y = section.getY(); var z = section.getZ(); var feed = section.getFeedrate(); siemens 828d post processor for fusion 360

// Activate tool length offset writeBlock("D" + toolOffset); function processSection(section) if (section

function onSetup() // Write setup information var programName = getProgramName(); writeBlock("; PROGRAM: " + programName); writeBlock("; UNITS: " + (getParameter("unit") == "mm" ? "MILLIMETERS" : "INCHES")); else if (section.is2D()) onLinear2D(section)

if (currentToolNumber != toolNumber) writeBlock("T=" + toolNumber + " M6"); // Siemens style tool change currentToolNumber = toolNumber;