Component: 3D Printer (Scenarios)

From Flowcode Help
Jump to navigationJump to search
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_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. FC6 Icon.png G-Code_Parser File:Batman.G

Print1.jpg


3D Maze Generator

A simple 3D maze generator using the 3D printer component to draw the maze. FC6 Icon.png Maze_Builder_3DP Print2.jpg






Macro reference

ClearPrevPrint

Fc9-comp-macro.png ClearPrevPrint
Clears all of the content from any previous print cycles. 
Fc9-void-icon.png - VOID Return


ControlPrintHead

Fc9-comp-macro.png 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 
Fc9-u8-icon.png - BYTE Enable
Controls if the extruder is active or not 
Fc9-void-icon.png - VOID Return


Initialise

Fc9-comp-macro.png Initialise
Sets up the 3D printer component by homing, clearing old print data and assigning the movement speed. 
Fc9-void-icon.png - VOID Return


MoveByXYZ

Fc9-comp-macro.png MoveByXYZ
Moves the print head by the amount specified in the axis variables using linear interpolation. 
Fc9-s16-icon.png - INT X
 
Fc9-s16-icon.png - INT Y
 
Fc9-s16-icon.png - INT Z
 
Fc9-void-icon.png - VOID Return


MoveByXYZReal

Fc9-comp-macro.png MoveByXYZReal
Moves the print head by the amount specified in the axis variables using linear interpolation. 
Fc9-f32-icon.png - FLOAT X
 
Fc9-f32-icon.png - FLOAT Y
 
Fc9-f32-icon.png - FLOAT Z
 
Fc9-void-icon.png - VOID Return


MoveToHome

Fc9-comp-macro.png MoveToHome
Returns the print head to the start position (0,0,0) 
Fc9-void-icon.png - VOID Return


MoveToXYZ

Fc9-comp-macro.png MoveToXYZ
Moves the print head to the specific location specified in the axis variables using linear interpolation. 
Fc9-u16-icon.png - UINT X
 
Fc9-u16-icon.png - UINT Y
 
Fc9-u16-icon.png - UINT Z
 
Fc9-void-icon.png - VOID Return


MoveToXYZReal

Fc9-comp-macro.png MoveToXYZReal
Moves the print head to the specific location specified in the axis variables using linear interpolation. 
Fc9-f32-icon.png - FLOAT X
 
Fc9-f32-icon.png - FLOAT Y
 
Fc9-f32-icon.png - FLOAT Z
 
Fc9-void-icon.png - VOID Return


SetMovementSpeed

Fc9-comp-macro.png SetMovementSpeed
Allows the movement speed to be set progmatically. Range 0 - 100 
Fc9-u8-icon.png - BYTE Speed
Speed control (0 - 100) 
Fc9-void-icon.png - VOID Return


SetMovementSpeedReal

Fc9-comp-macro.png SetMovementSpeedReal
Allows the movement speed to be set progmatically. Range 0.0 - 100.0 
Fc9-f32-icon.png - FLOAT Speed
Speed control (0 - 100) 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-1-icon.png Bed Colour
Specifies the colour of the print bed. 
Fc9-type-1-icon.png Print Colour
Specifies the colour of the print output. 
Fc9-type-14-icon.png Print Speed (0-100)
Specifies the speed of the printer movements. 100 = as fast as possible. 
Fc9-type-16-icon.png 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. 
Fc9-type-15-icon.png Print Size
Specifies the size of a single print object. 
Fc9-type-12-icon.png Print Shape
Specifies the shape of the print object. 
Fc9-conn-icon.png Max Print Dimensions
Fc9-type-14-icon.png X Width
Printer dimensions X axis 
Fc9-type-14-icon.png Y Length
Printer dimensions Y axis 
Fc9-type-14-icon.png Z Height
Printer dimensions Z axis