Skip to content

Instantly share code, notes, and snippets.

@mikejr83
Created February 13, 2021 18:33
Show Gist options
  • Save mikejr83/97b7684d1f507243d08094e4bd718ba2 to your computer and use it in GitHub Desktop.
Save mikejr83/97b7684d1f507243d08094e4bd718ba2 to your computer and use it in GitHub Desktop.
JGMaker Artist-D Duplication Start G-Code
; -- BEGIN - DUPLICATION MODE INITIALIZATION --
M605 S1 ; AUTO-PARK MODE
T0 ; SET TOOL 0
G28 ; HOME ALL AXIS
M605 S2 X155 ; SET DUPLICATION MODE AND NOZZLE OFFSET
G28 X ; HOME X AXIS
G1 X77.5 ; SET BOTH EXTRUDERS TO THE MIDDLE OF THEIR PRINT AREA
; -- END - DUPLICATION MODE INITIALIZATION
; PREHEAT
M140 S{material_bed_temperature_layer_0} ; Set Heat Bed temperature
M104 S{material_print_temperature_layer_0} ; Set Extruder temperature
M190 S{material_bed_temperature_layer_0} ; Wait for Heat Bed temperature
G1 Z15.0 F6000 ;Move the platform down 15mm
;Prime the extruder
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X10 Y20 Z0.3 F5000.0 ; Move to start position
M109 S{material_print_temperature_layer_0} ; Wait for Extruder temperature
G1 X10 Y200.0 Z0.2 F1500.0 E15 ; Draw the first line
G1 X10.3 Y200.0 Z0.2 F5000.0 ; Move to side a little
G1 X10.3 Y20 Z0.2 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X14 Y20 Z0.2 F5000.0 ; Move over to prevent blob squish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment