Jump to content

Component: G Code Parser (): Difference between revisions

From Flowcode Help
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder""
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
Line 175: Line 175:
| colspan="2" |  
| colspan="2" |  
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" class="mtx-class-propfolder" | Max Print Dimensions
| width="90%" class="mtx-class-propfolder" | Max Print Dimensions
|-
|-

Latest revision as of 14:37, 13 July 2026

Author Matrix Ltd
Version 1.1
Category


G Code Parser component

A set of routines to allow a G-Code type file to be parsed a line at a time and the coordinates to be collected. Simulates the G commands via a simulation only 3D printer component but can also be used to pass values to actual hardware.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_G-Code_Parser.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_G-Code_Parser.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

GetAxis

GetAxis
Returns the value of the Axis generated from the ParseCommand function. 0 = Read X, 1 = Read Y, 2 = Read Z 
- BYTE Axis
Specifies which axis to read 0/'x'/'X' - 1/'y'/'Y' - 2/'z'/'Z' 
- FLOAT Return


GetCoordinateMode

GetCoordinateMode
Returns the current coordinate mode. 0 = Absolute 1 = Relative 
- BYTE Return


Initialise

Initialise
 
- VOID Return


Parse_G_Command

Parse_G_Command
 
- STRING Command
 
- VOID Return


Property reference

Properties
Bed Color
 
Print Color
 
Print Speed
 
Print Type
 
Print Size
 
Print Shape
 
Max Print Dimensions
X Width
 
Y Length
 
Z Height