Difference between revisions of "Component: 3D Printer (Scenarios)"
From Flowcode Help
Jump to navigationJump to search| 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 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===ClearPrevPrint=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 92: | Line 95: | ||
| + | ===ControlPrintHead=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 110: | Line 114: | ||
| + | ===MoveByXYZ=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 138: | Line 143: | ||
| + | ===SetMovementSpeed=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 156: | Line 162: | ||
| + | ===MoveToHome=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 169: | Line 176: | ||
| + | ===MoveToXYZ=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 197: | Line 205: | ||
| + | ===MoveByXYZReal=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 225: | Line 234: | ||
| + | ===SetMovementSpeedReal=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 243: | Line 253: | ||
| + | ===MoveToXYZReal=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 271: | Line 282: | ||
| + | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:48, 3 February 2023
| Author | Matrix Ltd |
| Version | 1.4 |
| Category | Scenarios |
Contents
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_3D_Printer.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_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
MoveByXYZ
| MoveByXYZ | |
| Moves the print head by the amount 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 | |
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 | |
MoveByXYZReal
| MoveByXYZReal | |
| Moves the print head by the amount specified in the axis variables using linear interpolation. | |
| X | |
| Y | |
| Z | |
| Return | |
SetMovementSpeedReal
| SetMovementSpeedReal | |
| Allows the movement speed to be set progmatically. Range 0.0 - 100.0 | |
| Speed | |
| Speed control (0 - 100) | |
| Return | |
MoveToXYZReal
| MoveToXYZReal | |
| Moves the print head to the specific location specified in the axis variables using linear interpolation. | |
| X | |
| Y | |
| Z | |
| Return | |
Initialise
| Initialise | |
| Sets up the 3D printer component by homing, clearing old print data and assigning the movement speed. | |
| Return | |
