85 lines
1.8 KiB
INI
85 lines
1.8 KiB
INI
### Requested by OrcaSlicer
|
|
# https://github.com/SoftFever/Orcaslicer/README.md
|
|
|
|
# Enable object exclusion
|
|
[exclude_object]
|
|
|
|
# Enable arcs support
|
|
[gcode_arcs]
|
|
resolution: 1
|
|
|
|
### END
|
|
|
|
[respond]
|
|
|
|
[gcode_macro G29]
|
|
gcode:
|
|
G28
|
|
BED_MESH_CALIBRATE
|
|
G0 X0 Y0 Z10 F6000
|
|
BED_MESH_PROFILE save=default
|
|
SAVE_CONFIG
|
|
|
|
[gcode_macro START_PRINT]
|
|
gcode:
|
|
{% set BED_TEMP = params.BED_TEMP|default(60)|float %}
|
|
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(205)|float %}
|
|
|
|
# Load previously saved bed mesh
|
|
BED_MESH_PROFILE LOAD=default
|
|
|
|
# Start bed heating
|
|
M140 S{BED_TEMP}
|
|
# Use absolute coordinates
|
|
G90
|
|
M220 S100 ;Reset Feedrate
|
|
M221 S100 ;Reset Flowrate
|
|
G92 E0 ;Reset Extruder
|
|
# Reset the G-Code Z offset (adjust Z offset if needed)
|
|
SET_GCODE_OFFSET Z=0
|
|
# Home the printer
|
|
G28
|
|
# Move the nozzle near the bed
|
|
G1 Z5 F3000
|
|
# Move the nozzle very close to the bed
|
|
##G1 Z0.15 F300
|
|
# Wait for bed to reach temperature
|
|
M190 S{BED_TEMP}
|
|
# KAMP - move printhead near print area
|
|
SMART_PARK
|
|
# Set and wait for nozzle to reach temperature
|
|
M109 S{EXTRUDER_TEMP}
|
|
|
|
[gcode_macro END_PRINT]
|
|
gcode:
|
|
# Turn off bed, extruder, and fan
|
|
M140 S0
|
|
M104 S0
|
|
M106 S0
|
|
# Move nozzle away from print while retracting
|
|
G91
|
|
G1 X-2 Y-2 E-3 F300
|
|
# Raise nozzle by 10mm
|
|
G1 Z10 F3000
|
|
G90
|
|
# Disable steppers
|
|
M84
|
|
|
|
[gcode_macro PRIME_NOZZLE]
|
|
gcode:
|
|
G90 ; use absolute coordinates
|
|
M83 ; extruder relative mode
|
|
M220 S100 ;Reset Feedrate
|
|
M221 S100 ;Reset Flowrate
|
|
G92 E0 ;Reset Extruder
|
|
|
|
G1 Z10 F240
|
|
G1 X10 Y10 F3000
|
|
G1 Z0.28 F240
|
|
G92 E0
|
|
G1 Y140 E10 F1500 ; prime the nozzle
|
|
G1 X10.6 F5000
|
|
G92 E0
|
|
G1 Y10 E10 F1200 ; prime the nozzle
|
|
G92 E0
|