Index signature for additional G-code parameters. Allows parsing and storing of parameters not explicitly defined above.
Optional
eExtruder position/length in millimeters. Controls the amount of filament to extrude.
Optional
fFeed rate (speed) in millimeters per minute. Determines how fast the print head moves.
Optional
iX offset from current position to arc center in millimeters. Used in G2/G3 arc movement commands.
Optional
jY offset from current position to arc center in millimeters. Used in G2/G3 arc movement commands.
Optional
rRadius of arc in millimeters. Alternative way to specify arc movement in G2/G3 commands.
Optional
tTool number for multi-tool setups. Used to select between different extruders or tools.
Optional
xX-axis position in millimeters. Used for positioning the print head along the X axis.
Optional
yY-axis position in millimeters. Used for positioning the print head along the Y axis.
Optional
zZ-axis position in millimeters. Typically used for layer height control and vertical positioning.
Parameters for G-code commands used in 3D printing.
Remarks
This interface defines the common parameters used in G-code commands for 3D printing. While additional parameters may exist in G-code files, only the parameters listed here are actively used in this library. Other parameters are still parsed and preserved through the index signature.
Example