Postprocessor

12. SimCam

Postprocessor

Postprocessor

The postprocessor converts toolpaths into G-code specific to your machine's controller.

Supported Controllers

Controller Type Notes
FanucMilling/TurningIndustry standard
SiemensMilling/TurningSinumerik
HaasMilling/TurningFanuc-based
Mach3/4CNC RouterHobby/Semi-pro
LinuxCNCGenericOpen source
GRBLCNC RouterArduino-based
HeidenhainMillingConversational format

Output Options

  • Block numbering: N10, N20... or none
  • Increment: Numbering step (5, 10, etc.)
  • Decimals: Coordinate precision (3-6 digits)
  • Line ending: CR, LF, or CR+LF
  • File extension: .nc, .cnc, .tap, .gcode

Header and Footer

Customize opening and closing code:

; Typical header
O1234 (PROGRAM NAME)
G21 G90 G94 G40 G49 G80
G17

; ... toolpaths ...

; Typical footer
M5          ; Spindle stop
G91 G28 Z0  ; Home Z
G28 X0 Y0   ; Home XY
M30         ; End program

Code Generation

  1. Complete toolpath creation
  2. Go to CAM → Generate G-Code
  3. Select appropriate postprocessor
  4. Configure output options
  5. Specify save path
  6. Click Generate

Warning: Always verify generated code in simulation before running on a real machine.