Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gcode_macro START_PRINT]
- gcode:
- {% set BED_TEMP = params.BED_TEMP|default(60)|float %}
- {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(190)|float %}
- # Start bed heating (but don't wait for it)
- M140 S{BED_TEMP}
- # Use absolute coordinates
- G90
- # Reset the G-Code Z offset (adjust Z offset if needed)
- SET_GCODE_OFFSET Z=0.0
- # Home the printer
- G28
- # Wait for bed to reach temperature
- M190 S{BED_TEMP}
- M104 S{EXTRUDER_TEMP}
- #Calibrate Adaptive Mesh
- #BED_MESH_CALIBRATE PROFILE="adaptive" ADAPTIVE=1
- BED_MESH_CALIBRATE ADAPTIVE=1
- BED_MESH_PROFILE SAVE=ADAPTIVE
- #Load Bed Mesh
- #BED_MESH_PROFILE LOAD="adaptive"
- # Move the nozzle near the bed
- #G1 Z5 F3000
- SMART_PARK
- # Set and wait for nozzle to reach temperature
- M109 S{EXTRUDER_TEMP}
- #Calibrate KAMP adaptive mesh
- #BED_MESH_CALIBRATE
- #Use the Voron Purge line from KAMP
- VORON_PURGE
- # Move to purge line location
- #G1 X12 Y30 F3000
- # Move the nozzle very close to the bed
- #G1 Z0.25 F300
- #G1 Y150 E10 F1500 ; prime the nozzle
- #G1 X12.3 F5000
- #G92 E0
- #G1 Y30 E10 F1200 ; prime the nozzle
- #G92 E0
Advertisement
Add Comment
Please, Sign In to add comment