Skip to content

Instantly share code, notes, and snippets.

@aharshac
Last active September 3, 2018 10:00
Show Gist options
  • Save aharshac/d25db44760b2cfcde0179deed36bb764 to your computer and use it in GitHub Desktop.
Save aharshac/d25db44760b2cfcde0179deed36bb764 to your computer and use it in GitHub Desktop.
Julia 2018 Pro Dual - print with secondary nozzle
G21 ;metric values
G90 ;absolute positioning
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
M420 S1 ;enabled bed leveling
T1 ;select hotend 1
G92 E0 ;reset extruder distance
G1 Z10 F300 ;move nozzle up 10mm for safe homing
G1 X0 Y0 Z0 F5000 ;move nozzle to home
M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
M109 S{print_temperature} ;Uncomment to add your own temperature line
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment