Generating G-code
This is the full CAM loop: define stock, choose toolpaths, verify the cut in simulation, and export controller-ready G-code.
Before you start
- A finished part
- A tool in your tool library
- Your controller / post-processor
- 1
Set up stock and origin
In the Manufacture workspace, define the stock block around your part and set the work coordinate origin where the machine will be zeroed.
- 2
Face and rough
Add a facing operation to clean the top, then an adaptive clearing toolpath to remove the bulk of the material efficiently.
- 3
Finish to size
Add contour and pocket finishing passes so walls and floors come out at their final dimensions and surface finish.
Tip: Roughing removes material fast; finishing makes it accurate. Keep them as separate operations.
- 4
Simulate the cut
Run the stock simulation to watch the part emerge. Look for gouges, collisions, or uncut regions and fix the offending operation before going further.
- 5
Post and export
Select the post-processor for your controller and export the G-code. This is the same verified program the simulation just validated — ready to load on the machine.
What you built
Verified, controller-ready 3-axis G-code produced entirely inside HelioCad.
Follow along in HelioCad
Open a workspace and build it as you read. It runs in your browser — no install required.
Start free trial