How to make NC program for STL file in CAMWorks

dateAugust 10, 2021

The rising popularity of 3D Scanner comes along with a significant increase of demand for processing STL files on CNC. We often hear the question “What to do with a STL file from a 3D Scanner?”, hence, we decided to create this blog to take these 3d scan data files and make them useful for you!



In this blog, we’ll show you how to make NC program for a STL file in CAMWorks.


Simlar to normal file programing, we need to define Machine, Stock, and Coordinate System. When we define the stock over here, we use Stock type: Extruded Sketch as Bounding Box Stock Type can’t be used on STL files.

1. Define machine

  1. Use the following parameters:

Machine: Mill – Metric

Tool Crib: Tool Crib 2 (Metric)

Post Processor: M3AXIS-TUTORIAL


2. Define Stock

The following parameters should be used to define the stock size in the Stock Manager:

  1. Material: 6061-T6
  2. Stock Type: Extruded Sketch
  3. Select Sketch for the sketch to extrude
  4. Set the end condition to Blind
  5. Set the extrude depth to 125mm
  6. The stock size should be X:200mm Y:175mm Z:125mm






3. Define Coordinate System

  1. Define the coordinate system to use the top center stock position as shown.
  2. Make sure the Z direction is correct.






4. Create a Mill Part Setup

  1. Create a Mill Part Setup using the Front SOLIDWORKS reference plane
  2. Make sure the arrow is pointing in the direction shown
  3. Click OK



5. Create new Multi Surface feature

  1. Create new Multi Surface Feature
  2. For the Feature Type Method, select STL File
  3. Browse to the file GoodlookingHandsomeFace.STL in the \Lesson_02\Exercises folder
  4. Click OK to the file open dialogue
  5. For Strategy, select Area Clearance, Constant Stepover
  6. Click OK


6. Generate Operation Plan


7. Set the Automatic Contain Area

    1. Edit Area Clearance1 and go to the Advanced Tab
    2. Under Automatic contain area, set the Method to Outer Silhouette
    3. Edit Constant Stepover1
    4. Go to the Advanced tab
    5. Under Automatic contain area, set the Method to Outer Silhouette
    6. Go to the Constant Stepover tab
    7. Under Pass options, set the Constant cut amt: to 1mm

8. Generate Toolpath

9. Simulate Toolpath

If you find this blog useful, please feel free to spread the word!


For all Technical Support related queries please send an email to or contact us at +65 6226 3784


To know more about our products, email us at or contact us at +65 6372 1416


Learn more about our training programmes and courses here