Originally Posted by
trishbits
How do you get cam bam to automatically put in the g commands for the same z for tool change?
If you use different tool numbers in your drawing, CamBam will automatically insert tool change commands when the tool number changes between machining operations.
You can customize the tool change code by ediiting the 'Tool Change' post processor property.
There is more information regarding post processors here...
CamBam 0.9.8 documentation - Post Processor
Also how do you get the machine to add G43 to the code to apply tool offsets with out having to add it manually?
I'd appreciate the help.
This also can be done by modifying the 'Tool Change' post processor property.
For example, here is the tool change command from the 'Fanuc DK' post that is installed with CamBam...
Code:
{$comment} T{$tool.index} : {$tool.diameter} {$endcomment}
G28 G91 Z0
G90
T{$tool.index}
M6
G55 G0 X1. Y1.
G55 G0 G43 Z1. H{$tool.index}
Note, in the post processor properties you can use CamBam specific macros {$...} or you can just enter plain text you want to be output to your gcode.