[][src]Crate gen_gcode

Generate G-Code with funcational operation describing motion of the machine that the created gcode should produce

Structs

Point2d

Defines a 2 dimentional point in the XY catersian coordanant system

Point3d

Defines a 3 dimentional point in the XYZ catersian coordanant system

Functions

absolute_extrution
absolute_positioning

Returns a G90 command as a String

auto_home
fan_off
move_xy

Returns a G1 or G0 command as a String

move_xy_arc_ij

Returns a G2 or G3 command as a String

move_xyz
move_z
relative_extrution
relative_positioning

Returns a G91 command as a String

reset_extruder
reset_pos

Returns a G92.1 command to reset to machine's native possitioning offsets as a String

set_bed_temp
set_chamber_temp
set_fan_speed
set_hotend_temp
set_pos_2d

Returns a G92 command to set the current nozzle/tool possition in the XY plane as a String

set_pos_3d

Returns a G92 command to set the current nozzle/tool possition in 3 dimentions (XYZ) as a String

use_inches

Returns a G20 command as a String

use_millimeters

Returns a G21 command as a String

wait_bed_temp
wait_chamber_temp
wait_hotend_temp