M106 P11 S100 H-1 ; Turns on LED Stripe G28 XY ;Home XY M561 ; Clear any bed transform that might be in place G1 X165 Y165 ; Move Probe to middle of bed G30 ; Do a single probe G29 S1 ; load height map M201 E500.00:500.00 ; Set extruders acceleration G1 Z1.0 F3000 ; move z up little to prevent scratching of surface if {tools[0].active[0] != 0} ; Prime Tool 0 set global.isTool0Priming=true T0 ; First line G1 X1 Y10 Z0.3 F5000.0 ; move to start-line position G1 X1 Y250.0 Z0.3 F1500.0 E22 ; draw 1st line ; Second line G1 X1.3 Y250.0 Z0.3 F5000.0 ; move to side a little G1 X1.3 Y10 Z0.3 F1500.0 E22 ; draw 2nd line ;M201 E1500.00:1500.00 ; Set extruders acceleration ;G1 E-5 F3000 ; retract filament 5mm ;M201 E500.00:500.00 ; Set extruders acceleration G92 E0 ; reset extruder if {tools[1].active[0] != 0} ; Prime Tool 1 set global.isTool1Priming=true T1 ; Third line G1 X1.6 Y10 Z0.3 F5000.0 ; move to start-line position G1 X1.6 Y250.0 Z0.3 F1500.0 E22 ; draw 1st line ; Fourth line G1 X1.9 Y250.0 Z0.3 F5000.0 ; move to side a little G1 X1.9 Y10 Z0.3 F1500.0 E22 ; draw 2nd line ;M201 E1500.00:1500.00 ; Set extruders acceleration ;G1 E-5 F3000 ; retract 5mm ;M201 E500.00:500.00 ; Set extruders acceleration G92 E0 ; reset extruder if {tools[0].active[0] != 0} T0 G1 Z1.0 F3000 ; move z up little to prevent scratching of surface set global.isActuallyPrinting=true