Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- G28
- G1 Z15 F300 ;move extruder up 15mm at 5mm/s
- G90 ;absolute positioning
- M82 ;set extruder to absolute mode
- M107 ;start with the fan off
- M163 S0 P0.33
- M163 S1 P0.33
- M163 S2 P0.33
- M164 S4
- M104 S{print_temperature} ;Set extruder temperature
- M190 S{print_bed_temperature} ;Set bed temperature
- M109 S{print_temperature} ;Set extruder temperature and wait
- G92 E0 ;Reset extruder position(zero the extruded length)
- G0 X1.5 Y20 F2100 ;Move nozzle at 35mm/s
- G1 Z0.8 F300 ;Move Z Axis up little to prevent scratching of Heat Bed
- G1 X180 E60 F300 ;Move nozzle at 5mm/s and extrude filament 60mm
- G1 Z5 F300 ;Move Z Axis up 5mm at 5mm/s
- G92 E0 ;Reset extruder position(zero the extruded length)
- T0 ;Switch to the first extruder
- G91
- G1 E-2 F1500 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G1 Z5 F300 ;move Z up a bit and retract filament even more
- G90 ;absolute positioning
- G92 E0 ;Reset extruder position(zero the extruded length)
- G0 X1.0 Y200 F2000;
- M140 S0 ;turn off bed
- M84 ;disable motors
- M104 S0 ;turn off extruder
- M107 ;off fan
- T0 ;Switch to the first extruder
- M84 ;disable motors
- ;Switch between the current extruder and the next extruder, when printing with multiple extruders.
- ;This code is added before the T(n)
- ;Switch between the current extruder and the next extruder, when printing with multiple extruders.
- ;This code is added after the T(n)
- START 2
- 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
- G1 Z15.0 F{travel_speed} ;move the platform down 15mm
- T1 ;Switch to the 2nd extruder
- G92 E0 ;zero the extruded length
- G1 F200 E10 ;extrude 10mm of feed stock
- G92 E0 ;zero the extruded length again
- G1 F200 E-{retraction_dual_amount}
- T0 ;Switch to the first extruder
- G92 E0 ;zero the extruded length
- G1 F200 E10 ;extrude 10mm of feed stock
- G92 E0 ;zero the extruded length again
- G1 F{travel_speed}
- ;Put printing message on LCD screen
- M117 Printing...
- END2
- ;End GCode
- M104 T0 S0 ;extruder heater off
- M104 T1 S0 ;extruder heater off
- M140 S0 ;heated bed heater off (if you have it)
- G91 ;relative positioning
- G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
- G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
- M84 ;steppers off
- G90 ;absolute positioning
- ;{profile_string}
- START 3
- 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
- G1 Z15.0 F{travel_speed} ;move the platform down 15mm
- T2 ;Switch to the 2nd extruder
- G92 E0 ;zero the extruded length
- G1 F200 E10 ;extrude 10mm of feed stock
- G92 E0 ;zero the extruded length again
- G1 F200 E-{retraction_dual_amount}
- T1 ;Switch to the 2nd extruder
- G92 E0 ;zero the extruded length
- G1 F200 E10 ;extrude 10mm of feed stock
- G92 E0 ;zero the extruded length again
- G1 F200 E-{retraction_dual_amount}
- T0 ;Switch to the first extruder
- G92 E0 ;zero the extruded length
- G1 F200 E10 ;extrude 10mm of feed stock
- G92 E0 ;zero the extruded length again
- G1 F{travel_speed}
- ;Put printing message on LCD screen
- M117 Printing...
- END 3
- ;End GCode
- M104 T0 S0 ;extruder heater off
- M104 T1 S0 ;extruder heater off
- M104 T2 S0 ;extruder heater off
- M140 S0 ;heated bed heater off (if you have it)
- G91 ;relative positioning
- G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
- G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
- M84 ;steppers off
- G90 ;absolute positioning
- ;{profile_string}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement