Home Insights

What Is a Post-Processor in CAM Software and How to Implement One

You can have the best CAD model and perfectly simulated toolpaths in your CAM software, but without a working post-processor it’s just meaningless data to your CNC machine. A post-processor is the critical translator that bridges the virtual world of design with the reality of machining.

What Is a Post-Processor?

A post-processor is a software module or script that transforms the CAM system’s internal, universal toolpath data (CL-data or APT code) into the specific G-code (ISO code) or native format understood by your particular CNC controller — whether that’s Fanuc, Heidenhain, Siemens, Syntec, or woodworking-specific systems like bSolid or BiesseWorks.

Why Can’t You Use One Universal Code?

Every CNC machine builder and controller manufacturer implements the ISO standard slightly differently. While one machine uses M6 T1 for a tool change, another requires a specific subroutine cycle, a different machining-plane declaration (G17/G18/G19), or a unique syntax for drilling aggregates and interpolated axes.

How Does Successful Implementation Work?

  1. Documentation gathering: You need the programming manual for the machine’s control system and a sample of a working, proven program directly from the machine.
  2. Script editing (configuration): In modern CAM systems like Autodesk Fusion 360, post-processors are written in JavaScript (.cps format). This is where you define axis limits, number formats, and the structure of the program header and footer.
  3. Dry-run testing: The first generated programs are checked in simulators or run on the machine without material and without a tool (air-cut) to prevent collisions.
  4. Live deployment and optimisation: Fine-tuning feeds, ramp-in moves, spindle speeds, and machine-specific functions (e.g. auto-start dust extraction, stop-pin positioning).

Sample Structure in Fusion 360 (.cps)

function onOpen() {
  if (properties.writeMachine) {
    var machine = getMachineConfiguration();
    writeComment("Machine: " + machine.getVendor() + " " + machine.getModel());
  }
  writeBlock(gFormat.format(90), gFormat.format(40), gFormat.format(80)); // Absolute coords, cancel compensation
}

A quality post-processor minimises manual intervention at the machine. The goal: upload the G-code from CAM and immediately press Cycle Start.

Need a Autodesk Fusion postprocessor for your CNC machine?

Send us your machine details, sample NC code and required output format. We can prepare a custom postprocessor for Autodesk Fusion, including machine-specific cycles, drilling, saw aggregates and 3 to 5 axis machining.

Request a quote →
← Back to all articles