# Post Processors

### What a post processor does

A post processor is the final step between CAM and the machine.

CAM software calculates toolpaths in an abstract, machine-independent way.\
The post processor translates those toolpaths into **machine-specific G-code** that matches:

* the controller
* the kinematics
* the supported commands

In this documentation, CAM work is done in Autodesk Fusion, but the post processor defines how that work is turned into something the machine can actually execute.

***

### A note on 3-axis vs 5-axis post processors

There are different post processors used in this documentation, depending on the machine configuration.

The **3-axis post processor** is based on the standard Snapmaker-provided post processor, with only minor adjustments.&#x20;

The **5-axis post processor**, on the other hand, was developed largely from scratch and contains most of the exploratory and educational value.\
It reflects many iterations, tests, and design decisions made while working through indexed multi-axis workflows on the machine.

***

### Educational value of the post processor (5axis)

The post processor is intentionally **well commented**.

Wherever possible, logic and decisions are explained directly in the code so it can be read and understood — not just used. This makes the post processor itself a learning resource, especially for anyone interested in the internal structure and logic of post processors.

{% hint style="info" %}
You do not need to understand or modify the post processor to use it, but for those interested, it can serve as a valuable reference.\
You can read the **.cps file** with **common text editors**. Right-Click open with "YOUR TEXT EDITOR".\
I recommend using **Visual Studio Code** for this.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://miwicnc.gitbook.io/miwicnc/software-and-cam-setup/post-processors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
