robathome icon

Klipper scripts

robathome | PRO | 07/12/20 04:57:12 PM UTC | 0 ⭐ | 731 👁️ | Never ⏰ | []
text |

1.33 KB

|

None

|

0 👍

/

0 👎

## ---- STARTING SCRIPT ---- ##
 G28	 				; Home all axes
G21 				; Set all units to millimeters
 M83 				; Switch to relative extrusion coordinates
G90 				; Switch to absolute motion coordinates
 G1 Z5 F1500 		; Lift hotend
G1 X40 Y15 F4000 	; Move to prime line start
G1 Z0.32 F250 		; Lower hotend
G1 X190 E35 F540 	; Slow prime
G1 Z5 E-2 F1500 	; Retract & lift hotend
 M82 				; Switch to absolute extruder coordinates
G92 E0 				; Reset extruder position
M83 				; Switch back to relative extruder coordinates
 M220 S100 			; Reset speed multiplier
M221 S100 			; Reset extrusion multiplier
 ; Define firmware controls
SET_RETRACTION RETRACT_LENGTH=1 RETRACT_SPEED=20 UNRETRACT_SPEED=40
SET_VELOCITY_LIMIT MAX_ACCEL=3000 MAX_ACCEL_TO_DECEL=1000 SQUARE_CORNER_VELOCITY=4
SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=0.05 SMOOTH_TIME=0.01
    ## ---- ENDING SCRIPT ---- ##
 M104 S0 			; Disable hotend heater
M140 S0 			; Disable bed heater
 G91 				; Switch to relative motion coordinates
 M220 S100 			; Reset feedrate multiplier
M221 S100 			; Reset extrusion multipler
 G1 Z10 E-5 F1000 	; Lift hotend away from part
 G90 				; Absolute motion coordinates
G1 X235 Y235 F3000  ; Park hotend 
G1 Z250 F1500 		; Lower bed to Z_max
 M84 				; Disable motors
M106 S0 			; Disable layer cooling fan

Comments