Component: 3D Printer (Scenarios): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/3D_Printer.fcfx FC_Comp_Source_temp/3D_Printer.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/3D_Printer.fcfx FC_Comp_Source_temp/3D_Printer.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
| Line 74: | Line 74: | ||
{{Fcfile|Maze_Builder_3DP.fcfx|Maze_Builder_3DP}} | {{Fcfile|Maze_Builder_3DP.fcfx|Maze_Builder_3DP}} | ||
[[File:Print2.jpg]] | [[File:Print2.jpg]] | ||
| Line 108: | Line 110: | ||
|- | |- | ||
| colspan="2" | Controls if the extruder is active or not | | colspan="2" | Controls if the extruder is active or not | ||
|- | |||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | |||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | |||
|} | |||
===Initialise=== | |||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | |||
|- | |||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | |||
|- | |||
| colspan="2" | Sets up the 3D printer component by homing, clearing old print data and assigning the movement speed. | |||
|- | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| Line 143: | Line 159: | ||
=== | ===MoveByXYZReal=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MoveByXYZReal''' | ||
|- | |||
| colspan="2" | Moves the print head by the amount specified in the axis variables using linear interpolation. | |||
|- | |||
|- | |||
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | |||
| width="90%" | X | |||
|- | |||
| colspan="2" | | |||
|- | |- | ||
| | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
| width="90%" | Y | |||
|- | |- | ||
| colspan="2" | | |||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9- | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
| width="90%" | | | width="90%" | Z | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| Line 205: | Line 231: | ||
=== | ===MoveToXYZReal=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MoveToXYZReal''' | ||
|- | |- | ||
| colspan="2" | Moves the print head | | colspan="2" | Moves the print head to the specific location specified in the axis variables using linear interpolation. | ||
|- | |- | ||
|- | |- | ||
| Line 234: | Line 260: | ||
=== | ===SetMovementSpeed=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMovementSpeed''' | ||
|- | |- | ||
| colspan="2" | Allows the movement speed to be set progmatically. Range | | colspan="2" | Allows the movement speed to be set progmatically. Range 0 - 100 | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9- | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | ||
| width="90%" | Speed | | width="90%" | Speed | ||
|- | |- | ||
| Line 253: | Line 279: | ||
=== | ===SetMovementSpeedReal=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetMovementSpeedReal''' | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | Allows the movement speed to be set progmatically. Range 0.0 - 100.0 | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | | width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT | ||
| width="90%" | | | width="90%" | Speed | ||
|- | |- | ||
| colspan="2" | Speed control (0 - 100) | |||
|- | |- | ||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Revision as of 11:59, 3 February 2023
| Author | Matrix Ltd |
| Version | 1.4 |
| Category | Scenarios |
3D Printer component
A simulation only version of a very basic 3D printer such as a standard RepRap.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/3D_Printer.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/3D_Printer.fcfx
Detailed description
No detailed description exists yet for this component
Examples
3D Print Using Standard 3D Printer CAD file
A simulated 3D print using an external G code file from an actual 3D printer. The G code file must be placed into the same directory as the Flowcode project to work correctly.
G-Code_Parser
File:Batman.G
3D Maze Generator
A simple 3D maze generator using the 3D printer component to draw the maze.
Maze_Builder_3DP
Macro reference
ClearPrevPrint
| ClearPrevPrint | |
| Clears all of the content from any previous print cycles. | |
| Return | |
ControlPrintHead
Initialise
| Initialise | |
| Sets up the 3D printer component by homing, clearing old print data and assigning the movement speed. | |
| Return | |
MoveByXYZ
| MoveByXYZ | |
| Moves the print head by the amount specified in the axis variables using linear interpolation. | |
| X | |
| Y | |
| Z | |
| Return | |
MoveByXYZReal
| MoveByXYZReal | |
| Moves the print head by the amount specified in the axis variables using linear interpolation. | |
| X | |
| Y | |
| Z | |
| Return | |
MoveToHome
| MoveToHome | |
| Returns the print head to the start position (0,0,0) | |
| Return | |
MoveToXYZ
| MoveToXYZ | |
| Moves the print head to the specific location specified in the axis variables using linear interpolation. | |
| X | |
| Y | |
| Z | |
| Return | |
MoveToXYZReal
| MoveToXYZReal | |
| Moves the print head to the specific location specified in the axis variables using linear interpolation. | |
| X | |
| Y | |
| Z | |
| Return | |
SetMovementSpeed
| SetMovementSpeed | |
| Allows the movement speed to be set progmatically. Range 0 - 100 | |
| Speed | |
| Speed control (0 - 100) | |
| Return | |
SetMovementSpeedReal
| SetMovementSpeedReal | |
| Allows the movement speed to be set progmatically. Range 0.0 - 100.0 | |
| Speed | |
| Speed control (0 - 100) | |
| Return | |
