Mastercam’s Stock Model Toolpath

Simulating toolpaths is a vital step for a programmer to ensure that they have created good, safe error-free code. But as the number of toolpaths increases, it is a waste of time to watch the simulation of a toolpath that you know is ready for the CNC machine—hence, Mastercam’s Stock Model toolpath, which allows the programmer to easily save valuable simulation time for any part.

Let's go through the process for the simple part shown in Figure 1.

Figure 1. A simple wireframe part with a shelf and two holes.

To use the Stock Model toolpath, first add an operation to your part. In the case of the part in Figure 1, a contour toolpath will be added to machine the shelf. The toolpath should then be simulated to ensure that it operates as intended, as shown in Figure 2.

Figure 2. Verify simulator results of a contour toolpath.

From the dropdown menus, select Toolpaths and Stock Model, as shown in Figure 3. The Stock Model window will then open, as shown in Figure 4.

Figure 3. Toolpath dropdown menu highlighting the Stock Model toolpath.

In the Stock Model window, enter a name for the toolpath, as shown in Figure 4 (section 1), and then choose the previous stock shape. In this case, the Stock Setup (Figure 4, section 2) values will be used. Now, select the Source Operations option (Figure 4, section 3), and then select all of the source operations that would be completed to create the shape for this stock model, as shown in Figure 5. Accept these selections  to exit the toolpath.

Figure 4. Stock Definition window.
Figure 5. Source Operations for the Stock Model toolpath.

The Stock Model toolpath will be added to the feature tree as shown in Figure 6. Its appearance will be white, indicating that it will never be posted out as G/M code.

Figure 6. Stock Model toolpath in the Toolpath Manager feature tree.

Like any toolpath, the display of the stock model can be turned on and off (Alt + T). The display of this stock model will be the same as the display options you chose when you first set up the stock, either wireframe or a solid.

Before simulating any new toolpaths, you will need to tell Mastercam to use this stock model. In the Toolpath Manager window, select Backplot/Verify Options, as shown in Figure 7.

Figure 7. Selecting the Backplot/Verify Options.

In the Backplot/Verify Options window, enable the radio button for the stock model, as shown in Figure 8, and accept this selection to make this the new stock for the simulation. 

Figure 8. Selecting the stock model as the new simulation stock.

Each time you create a new stock model operation, you will need to select it as the new stock shape for future simulation. Once multiple stock model operations exist, you will need to select the desired one from the dropdown list in the Backplot/Verify Options window.

The use of the Stock Model toolpath, can save a programmer hours of time, especially on complex 3D surface toolpaths, which can take a great deal of time to process for simulation.

About the Author






Fred Fulkerson is a graduate of the Faculty of Education, University of Western Ontario, and of the general machining program at Conestoga College in Ontario. He is a Canadian Red Seal certified general machinist and CNC programmer and a certified Mastercam and SOLIDWORKS instructor.