The basic work flow for creating Gcode files is:
Toolpaths are generated by selecting the Machining - Generate Toolpaths menu item, Pressing CTRL+T, or by right clicking on
individual machining operations in the drawing tree and selecting Generate Toolpath from the context menu.
CamBam provides a 3D drawing view. Rotate the view (using ALT+Drag) to see more detail of the toolpaths including the different depth levels.
The toolpaths indicate the path that will be travelled by the central tip of the cutting tool. Different colors are used to differentiate straight line moves and arc moves.
Small arrows indicate the cutting directions. Rapids are displayed using dotted red lines.
There are a number of settings which control the appearance of the toolpaths.
Toolpaths can be shown or hidden using the View - Show Toolpaths top menu and context menu options.
Other toolpath viewing options are available from the View menu.
Setting the drawing view option Show Cut Widths = True is a useful way of seeing the areas of stock that will cleared.
Another useful setting is the Toolpath Visibility property, which is available when selecting the top level (drawing) object in the tree view.
This setting can be All, to show all enabled toolpaths, or Selected Only, which will only display toolpaths for machining operations that have
been selected in the drawing tree, or whose containing Part object has been selected.
Select a post processor
A post processor will help covert machining operations and toolpaths into gcode, suitable for specific target machines.
If no post processor is defined, the default post processor is used.
Each drawing file can specify its own post processor, set in the machining options.
To set a default post processor for all drawings, a default drawing template can be created which contains the required post processor.
See the post processor section for more details.
Once the machining operations have been correctly defined and inspected, a Gcode file can be produced to send to the CNC controller.
This is done by selecting the Machining - Produce Gcode menu option.
If a gcode file has not been previously created, a destination file location prompt is displayed.
The gcode filename is stored, and can be changed, by selecting the machining object in the drawing tree, then changing the Out File
property under the Destination group of the machining properties. Selecting the Out File value will cause a [...] button to appear
which can be used to open a file browser.
A default filename is suggested by appending the default Gcode file extension to the current filename.
In the system configuration settings there is a setting called Default GCode Extension which is used to set the file extension.
Often it is useful to be able to create Gcode from a single machining operation. This is particularly useful for new designs,
where each machining step can be exported and tested separately. To do this, right click a specific machining operation in the drawing tree
and select Create Gcode File from the context menu.