Jump to content

Component: 3D Printer (Scenarios): Difference between revisions

From Flowcode Help
Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.4 |- | width="20%" style="color:gray..."
 
No edit summary
Line 15: Line 15:
A simulation only version of a very basic 3D printer such as a standard RepRap.
A simulation only version of a very basic 3D printer such as a standard RepRap.


==Component Pack==
==Component Source Code==


MECHATRONICS
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_3D_Printer.fcfx FC_Comp_Source_3D_Printer.fcfx]


==Detailed description==
==Detailed description==


''No detailed description exists yet for this component''
''No detailed description exists yet for this component''


==Examples==
==Examples==




Line 287: Line 291:
|-
|-
| colspan="2" | Specifies the shape of the print object. 
| colspan="2" | Specifies the shape of the print object. 
|-
| 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-14-icon.png]]
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
Line 302: Line 310:
|-
|-
| colspan="2" | Printer dimensions Z axis 
| colspan="2" | Printer dimensions Z axis 
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections'''
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations'''
|-
|}
|}

Revision as of 17:43, 9 November 2022

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 for the component source code: 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

Downloadable macro reference

ClearPrevPrint
Clears all of the content from any previous print cycles. 
- VOID Return


ControlPrintHead
Controls the print extruder which plots the location of the print head as the head moves. If Enable = 0 then the extruder is disabled If Enable != 0 then the extruder is enabled 
- BYTE Enable
Controls if the extruder is active or not 
- VOID Return


MoveByXYZ
Moves the print head by the amount specified in the axis variables using linear interpolation. 
- INT X
 
- INT Y
 
- INT Z
 
- VOID Return


SetMovementSpeed
Allows the movement speed to be set progmatically. Range 0 - 100 
- BYTE Speed
Speed control (0 - 100) 
- VOID Return


MoveToHome
Returns the print head to the start position (0,0,0) 
- VOID Return


MoveToXYZ
Moves the print head to the specific location specified in the axis variables using linear interpolation. 
- UINT X
 
- UINT Y
 
- UINT Z
 
- VOID Return


MoveByXYZReal
Moves the print head by the amount specified in the axis variables using linear interpolation. 
- FLOAT X
 
- FLOAT Y
 
- FLOAT Z
 
- VOID Return


SetMovementSpeedReal
Allows the movement speed to be set progmatically. Range 0.0 - 100.0 
- FLOAT Speed
Speed control (0 - 100) 
- VOID Return


MoveToXYZReal
Moves the print head to the specific location specified in the axis variables using linear interpolation. 
- FLOAT X
 
- FLOAT Y
 
- FLOAT Z
 
- VOID Return


Initialise
Sets up the 3D printer component by homing, clearing old print data and assigning the movement speed. 
- VOID Return



Property reference

Properties
Bed Colour
Specifies the colour of the print bed. 
Print Colour
Specifies the colour of the print output. 
Print Speed (0-100)
Specifies the speed of the printer movements. 100 = as fast as possible. 
Print Type
Specifies how the print is drawn. Object based - uses panel primitives to build up the 3D object, useful for simulated interaction e.g. the formula flowcode and the maze solving example. Point cloud based - uses the point cloud interface to allow complex objects to be built without slowing down the panel interface. 
Print Size
Specifies the size of a single print object. 
Print Shape
Specifies the shape of the print object. 
Max Print Dimensions
X Width
Printer dimensions X axis 
Y Length
Printer dimensions Y axis 
Z Height
Printer dimensions Z axis