# Machine Simulation

Machine simulation shows **how the CNC machine moves** while executing a CAM program — not just where material is removed.

Instead of only displaying toolpaths in space, machine simulation visualizes:

* the machine structure
* the spindle and tool
* potential collisions and limits

This makes it possible to understand **how a program will run on the real machine**, not just what shape it will cut.

***

### Why machine simulation matters

Machine simulation helps you:

* see how the machine axes move during an operation
* identify potential collisions with fixtures, clamps, or the machine itself
* understand rotary axis behavior in **4-axis and 5-axis setups**
* verify that a setup is physically possible before running it

Especially in **5-axis work**, machine simulation helps confirm that the tool orientation is correct **in machine space**, not just mathematically valid.

Some orientations look identical in toolpath view but result in completely different machine motion.

In this way, machine simulation provides an important **reality check** between CAM planning and real machining.

{% hint style="info" %}
Machine simulation helps you **understand and plan** how the machine will move.\
It can reduce surprises, but it does not replace careful physical setup.
{% 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/machine-simulation.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.
