Update 6.0.0
This commit is contained in:
parent
bb0b7539a0
commit
c8db437b79
63 changed files with 3667 additions and 737 deletions
|
@ -1,20 +1,83 @@
|
|||
###########################################
|
||||
# Start Print Macro for Creality K1 Series
|
||||
# Additional Macros for Creality K1 Series
|
||||
###########################################
|
||||
|
||||
[respond]
|
||||
|
||||
[virtual_pins]
|
||||
|
||||
[output_pin KAMP]
|
||||
pin: virtual_pin:KAMP_pin
|
||||
[output_pin ADAPTIVE_BED_MESH]
|
||||
pin: virtual_pin:ADAPTIVE_BED_MESH_pin
|
||||
value: 1
|
||||
|
||||
[output_pin BED_LEVELING]
|
||||
pin: virtual_pin:BED_LEVELING_pin
|
||||
[output_pin FULL_BED_MESH]
|
||||
pin: virtual_pin:FULL_BED_MESH_pin
|
||||
value: 0
|
||||
|
||||
[output_pin ADAPTIVE_PURGE_LINE]
|
||||
pin: virtual_pin:ADAPTIVE_PURGE_LINE_pin
|
||||
value: 1
|
||||
|
||||
|
||||
[gcode_macro _ADAPTIVE_BED_MESH_ON]
|
||||
description: Enable Adaptive Bed Mesh and Disable Full Bed Mesh
|
||||
gcode:
|
||||
SET_PIN PIN=ADAPTIVE_BED_MESH VALUE=1
|
||||
SET_PIN PIN=FULL_BED_MESH VALUE=0
|
||||
RESPOND TYPE=command MSG="action:prompt_end"
|
||||
|
||||
|
||||
[gcode_macro _FULL_BED_MESH_ON]
|
||||
description: Disable Adaptive Bed Mesh and Enable Full Bed Mesh
|
||||
gcode:
|
||||
SET_PIN PIN=ADAPTIVE_BED_MESH VALUE=0
|
||||
SET_PIN PIN=FULL_BED_MESH VALUE=1
|
||||
RESPOND TYPE=command MSG="action:prompt_end"
|
||||
|
||||
|
||||
[gcode_macro _BED_MESH_OFF]
|
||||
description: Disable Adaptive Bed Mesh and Enable Full Bed Mesh
|
||||
gcode:
|
||||
SET_PIN PIN=ADAPTIVE_BED_MESH VALUE=0
|
||||
SET_PIN PIN=FULL_BED_MESH VALUE=0
|
||||
RESPOND TYPE=command MSG="action:prompt_end"
|
||||
|
||||
|
||||
[gcode_macro _ADAPTIVE_PURGE_LINE_ON]
|
||||
description: Enable Adaptive Purge Line
|
||||
gcode:
|
||||
SET_PIN PIN=ADAPTIVE_PURGE_LINE VALUE=1
|
||||
RESPOND TYPE=command MSG="action:prompt_end"
|
||||
|
||||
|
||||
[gcode_macro _ADAPTIVE_PURGE_LINE_OFF]
|
||||
description: Disable Adaptive Purge Line
|
||||
gcode:
|
||||
SET_PIN PIN=ADAPTIVE_PURGE_LINE VALUE=0
|
||||
RESPOND TYPE=command MSG="action:prompt_end"
|
||||
|
||||
|
||||
[gcode_macro KAMP_BED_MESH_SETTINGS]
|
||||
description: Configure Bed Mesh type
|
||||
gcode:
|
||||
RESPOND TYPE=command MSG="action:prompt_begin Bed Mesh Settings"
|
||||
RESPOND TYPE=command MSG="action:prompt_text What type of bed mesh do you want to use when you start printing?"
|
||||
RESPOND TYPE=command MSG="action:prompt_button ADAPTIVE BED MESH|_ADAPTIVE_BED_MESH_ON|primary"
|
||||
RESPOND TYPE=command MSG="action:prompt_button FULL BED MESH|_FULL_BED_MESH_ON|primary"
|
||||
RESPOND TYPE=command MSG="action:prompt_button NONE|_BED_MESH_OFF|primary"
|
||||
RESPOND TYPE=command MSG="action:prompt_show"
|
||||
|
||||
|
||||
[gcode_macro KAMP_PURGE_LINE_SETTINGS]
|
||||
description: Configure Purge Line type
|
||||
gcode:
|
||||
RESPOND TYPE=command MSG="action:prompt_begin Purge Line Settings"
|
||||
RESPOND TYPE=command MSG="action:prompt_text What type of purge line do you want to use when you start printing?"
|
||||
RESPOND TYPE=command MSG="action:prompt_button ADAPTIVE PURGE LINE|_ADAPTIVE_PURGE_LINE_ON|primary"
|
||||
RESPOND TYPE=command MSG="action:prompt_button CLASSIC PURGE LINE|_ADAPTIVE_PURGE_LINE_OFF|primary"
|
||||
RESPOND TYPE=command MSG="action:prompt_show"
|
||||
|
||||
|
||||
[gcode_macro START_PRINT]
|
||||
variable_prepare: 0
|
||||
gcode:
|
||||
|
@ -34,14 +97,14 @@ gcode:
|
|||
CX_ROUGH_G28 EXTRUDER_TEMP={extruder_temp} BED_TEMP={bed_temp}
|
||||
CX_NOZZLE_CLEAR
|
||||
ACCURATE_G28
|
||||
{% if printer['output_pin KAMP'].value == 1 %}
|
||||
RESPOND TYPE=command MSG="Starting KAMP Bed Mesh..."
|
||||
{% if printer['output_pin ADAPTIVE_BED_MESH'].value == 1 %}
|
||||
RESPOND TYPE=command MSG="Starting Adaptive Bed Mesh..."
|
||||
BED_MESH_CLEAR
|
||||
BED_MESH_CALIBRATE
|
||||
BED_MESH_PROFILE SAVE=kamp
|
||||
BED_MESH_PROFILE LOAD=kamp
|
||||
BED_MESH_PROFILE SAVE=adaptive
|
||||
BED_MESH_PROFILE LOAD=adaptive
|
||||
{% else %}
|
||||
{% if printer['output_pin BED_LEVELING'].value == 1 %}
|
||||
{% if printer['output_pin FULL_BED_MESH'].value == 1 %}
|
||||
RESPOND TYPE=command MSG="Starting Full Bed Mesh..."
|
||||
CX_PRINT_LEVELING_CALIBRATION
|
||||
{% endif %}
|
||||
|
@ -50,14 +113,14 @@ gcode:
|
|||
{% else %}
|
||||
PRINT_PREPARE_CLEAR
|
||||
{% endif %}
|
||||
{% if printer['output_pin KAMP'].value == 1 %}
|
||||
{% if printer['output_pin ADAPTIVE_PURGE_LINE'].value == 1 %}
|
||||
_SMART_PARK
|
||||
M109 S{extruder_temp}
|
||||
M190 S{bed_temp}
|
||||
RESPOND TYPE=command MSG="Starting KAMP line purge..."
|
||||
RESPOND TYPE=command MSG="Starting Adaptive Purge Line..."
|
||||
_LINE_PURGE
|
||||
{% else %}
|
||||
RESPOND TYPE=command MSG="Starting classic line purge..."
|
||||
RESPOND TYPE=command MSG="Starting Classic Purge Line..."
|
||||
CX_PRINT_DRAW_ONE_LINE
|
||||
{% endif %}
|
||||
SET_VELOCITY_LIMIT ACCEL={printer.configfile.settings.printer.max_accel}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue