init
This commit is contained in:
24
macros.cfg
Normal file
24
macros.cfg
Normal file
@@ -0,0 +1,24 @@
|
||||
[gcode_macro BEEP]
|
||||
gcode:
|
||||
{% set duration = params.P | default(100) | float %}
|
||||
SET_PIN PIN=beeper VALUE=1
|
||||
G4 P{duration}
|
||||
SET_PIN PIN=beeper VALUE=0
|
||||
|
||||
[gcode_macro PRINT_END]
|
||||
gcode:
|
||||
G91 ; Relative positionning
|
||||
G1 E-2 F2700 ; Retract a bit
|
||||
G1 E-2 Z0.2 F2400 ; Retract and raise Z
|
||||
G0 X5 Y5 F3000 ; Wipe out
|
||||
G0 Z10 ; Raise Z more
|
||||
G90 ; Absolute positionning
|
||||
G0 X0 Y220 ; Present print
|
||||
M106 S0 ; Turn-off fan
|
||||
M104 S0 ; Turn-off hotend
|
||||
M140 S0 ; Turn-off bed_temp
|
||||
M84 ; Disable stepper motors
|
||||
|
||||
[gcode_macro Clean_Bed]
|
||||
gcode:
|
||||
_CLIENT_LINEAR_MOVE X=0 Y=220 F=1500
|
||||
Reference in New Issue
Block a user