Difference between revisions of "Component: G Code Parser ()"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gray...") |
|||
| Line 15: | Line 15: | ||
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. | 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 | + | ==Component Source Code== |
| − | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_G-Code_Parser.fcfx FC_Comp_Source_G-Code_Parser.fcfx] | |
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 132: | Line 136: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
| + | |- | ||
| + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Max Print Dimensions | ||
| + | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
| Line 147: | Line 155: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
Revision as of 17:47, 9 November 2022
| Author | Matrix Ltd |
| Version | 1.1 |
| Category |
Contents
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 for the component source code: FC_Comp_Source_G-Code_Parser.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| GetCoordinateMode | |
| Returns the current coordinate mode. 0 = Absolute 1 = Relative | |
| Return | |
| Parse_G_Command | |
| Command | |
| Return | |
| Initialise | |
| 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 | |