Tutorial: Simulate Toolpaths
Simulate toolpath movement and stock cutting, and look for collisions.
Set Up Toolpath Simulation
CAM simulation allows you to validate toolpaths and simulate cutting. In this step, you simulate the toolpaths that you created in earlier tutorials.
- If the Data Panel is not open, click Show Data Panel
- In the Data Panel, open CAM 6_Stock Simulation from Projects ➤ Samples ➤ Workshops & Events ➤ Onboarding Path ➤ Toolpath Programming ➤ 6_Stock Simulation.
TIP If toolpaths are out of date
after the design loads, choose Actions ➤ Generate Toolpath.
- In the CAM workspace, in the browser, click Setup1.
- Choose Actions ➤ Simulate.
Notice the play bar at the bottom of the screen.
- In the Simulate dialog, do the following:
- Select Tool.
- Set Tool to Holder.
- Select Toolpath.
- Set Mode to Tail.
In Tail mode, the displayed path follows the tool for a fixed distance. This mode is useful when you do not want to show the entire toolpath.
- To simulate cutting stock, do the following:
- Select Stock.
- Set Mode to Standard.
- Set Material to Ceramic.
The ceramic material is just a display preference; you can choose any mode you like. The material does not affect the simulation.
NOTE Standard mode requires more graphics computing power than Fast mode. If performance decreases, you can return to Fast mode.
Play and Review Simulation
In this step, you start the simulation to begin cutting stock material.
- In the browser, click Adaptive1.
- Click Play
at the bottom of the screen.The tool begins cutting the stock.
- In the dialog, set Colorization to Operation.
Coloring by operation allows you to easily identify material that has been cut.
- Click the Info tab.
Notice that the values on this tab update during playback.
- Click the Statistics tab to see information for the entire simulation.
- The first clearing toolpath takes a while to play back. To skip to the next toolpath, click Go To Next Operation
Locate Toolpath Collisions
Simulation allows you to detect collisions with noncutting surfaces or fixtures. In this step, you locate collisions and inspect them.
- Locate the red bars at the bottom of the screen. These red bars indicate collisions.
- Click slightly to the left of a red bar to play through the collision. To display details about the collision, hover over the red bar.
- To pause the simulation if a collision is detected, select Stop On Collision on the Display tab.
- Again, click slightly to the left of a red bar to play the collision. This time, playback stops when the collision occurs.
NOTE Normally, you would resolve collisions by editing the toolpath at this point. However, editing toolpaths is not part of this tutorial.
- Clear Stop On Collision.
- To slow down the simulation, locate the slider at the bottom of the screen, and drag it to the left. To resume simulation, click Play
.Adjust the slider to the speed you prefer. To play the simulation in reverse, move the slider left of center.
- Click Go To End Of Toolpath
to show the stock in its final state.