Module g_code::emit::command

source ·
Expand description

Higher-level constructs for g-code emission

Structs

Commands are the operational unit of g-code

Constants

Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.
Constant for this command’s name used to reduce allocations.

Functions

In absolute distance mode, axis numbers usually represent positions in terms of the currently active coordinate system.
Interpolate along an arc to the desired position
This will keep the axes unmoving for the period of time in seconds specified by the P number
To instantiate the command, call this function or use the crate::command macro.
Interpolate along a line to the desired position
Signals the end of a program
Moves the head to the desired position at the fastest possible speed.
In relative distance mode, axis numbers usually represent increments from the current values of the numbers
Start spinning the spindle clockwise with speed p
Start spinning the spindle counterclockwise with speed p
Stop spinning the spindle
Use inches for length units
Use millimeters for length units