Classes | |
| class | SpindleDirection |
Functions | |
| def | generate (toolnumber, toollabel, spindlespeed=0, spindledirection=SpindleDirection.OFF) |
| def | generateSubstitute (newTC, oldTC=None) |
| def toolchange_generator.generate | ( | toolnumber, | |
| toollabel, | |||
spindlespeed = 0, |
|||
spindledirection = SpindleDirection.OFF |
|||
| ) |
Generates Gcode for a simple toolchange.
Referenced by PathScripts.PathToolController.ToolController.execute().
| def toolchange_generator.generateSubstitute | ( | newTC, | |
oldTC = None |
|||
| ) |
The specific commands to emit, depend on the state of the machine. For example, the toolnumber may not change, only the spindle speed. This routine will generate a list of commands to substitute for a TC object to be handed to the postprocessor. It will contain only the commands needed