Feat: Add group categories to all macros for Mainsail/Fluidd UI
Calibration macros (calibration/*.cfg): - All calibration macros grouped under 'Calibration' Printing macros (user_settings_clean.cfg): - PRINT_START, PRINT_END → 'Printing' - QUICK_TOUCH, CALIBRATE_PROBE → 'Calibration' - BABYZ_PLUS, BABYZ_MINUS → 'Helpers' This organizes macros in Mainsail/Fluidd UI instead of showing all under 'Uncategorized'.
This commit is contained in:
parent
63f6aff25f
commit
651f4cb7eb
4 changed files with 125 additions and 279 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATION_MENU]
|
[gcode_macro CALIBRATION_MENU]
|
||||||
description: Show calibration menu with all options
|
description: Show calibration menu with all options
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
RESPOND MSG="=============================================="
|
RESPOND MSG="=============================================="
|
||||||
RESPOND MSG=" NEPTUNE 4 PLUS CALIBRATION SUITE"
|
RESPOND MSG=" NEPTUNE 4 PLUS CALIBRATION SUITE"
|
||||||
|
|
@ -33,6 +34,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_Z_OFFSET]
|
[gcode_macro CALIBRATE_Z_OFFSET]
|
||||||
description: Calibrate Z-offset using Cartographer touch
|
description: Calibrate Z-offset using Cartographer touch
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
RESPOND MSG="Starting Z-Offset Calibration..."
|
RESPOND MSG="Starting Z-Offset Calibration..."
|
||||||
RESPOND MSG=""
|
RESPOND MSG=""
|
||||||
|
|
@ -62,6 +64,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_INPUT_SHAPER]
|
[gcode_macro CALIBRATE_INPUT_SHAPER]
|
||||||
description: Measure resonance frequencies with ADXL345
|
description: Measure resonance frequencies with ADXL345
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
RESPOND MSG="Starting Input Shaper Calibration..."
|
RESPOND MSG="Starting Input Shaper Calibration..."
|
||||||
RESPOND MSG=""
|
RESPOND MSG=""
|
||||||
|
|
@ -84,6 +87,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_PRESSURE_ADVANCE]
|
[gcode_macro CALIBRATE_PRESSURE_ADVANCE]
|
||||||
description: Calibrate Pressure Advance for optimal corners
|
description: Calibrate Pressure Advance for optimal corners
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
||||||
{% set START_PA = params.START|default(0.01)|float %}
|
{% set START_PA = params.START|default(0.01)|float %}
|
||||||
|
|
@ -139,6 +143,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_FLOW_RATE]
|
[gcode_macro CALIBRATE_FLOW_RATE]
|
||||||
description: Calibrate flow rate for exact wall dimensions
|
description: Calibrate flow rate for exact wall dimensions
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
||||||
|
|
||||||
|
|
@ -190,6 +195,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_TEMPERATURE]
|
[gcode_macro CALIBRATE_TEMPERATURE]
|
||||||
description: Print temperature tower to find optimal temp
|
description: Print temperature tower to find optimal temp
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
||||||
{% set START_TEMP = params.START|default(195)|int %}
|
{% set START_TEMP = params.START|default(195)|int %}
|
||||||
|
|
@ -234,6 +240,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_RETRACTION]
|
[gcode_macro CALIBRATE_RETRACTION]
|
||||||
description: Test retraction settings to minimize stringing
|
description: Test retraction settings to minimize stringing
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
{% set FILAMENT = params.FILAMENT|default("PLA")|upper %}
|
||||||
{% set HOTEND = params.HOTEND|default("ORIGINAL")|upper %}
|
{% set HOTEND = params.HOTEND|default("ORIGINAL")|upper %}
|
||||||
|
|
@ -296,6 +303,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATE_BED_MESH]
|
[gcode_macro CALIBRATE_BED_MESH]
|
||||||
description: Calibrate bed mesh with Cartographer
|
description: Calibrate bed mesh with Cartographer
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
RESPOND MSG="Starting Bed Mesh Calibration..."
|
RESPOND MSG="Starting Bed Mesh Calibration..."
|
||||||
RESPOND MSG=""
|
RESPOND MSG=""
|
||||||
|
|
@ -322,6 +330,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATION_FULL]
|
[gcode_macro CALIBRATION_FULL]
|
||||||
description: Run complete calibration suite (takes ~2.5 hours)
|
description: Run complete calibration suite (takes ~2.5 hours)
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
RESPOND MSG="=============================================="
|
RESPOND MSG="=============================================="
|
||||||
RESPOND MSG=" STARTING FULL CALIBRATION SUITE"
|
RESPOND MSG=" STARTING FULL CALIBRATION SUITE"
|
||||||
|
|
@ -381,6 +390,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro CALIBRATION_QUICK]
|
[gcode_macro CALIBRATION_QUICK]
|
||||||
description: Run quick calibration (Z-offset + PA + Bed Mesh, ~30 min)
|
description: Run quick calibration (Z-offset + PA + Bed Mesh, ~30 min)
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
RESPOND MSG="=============================================="
|
RESPOND MSG="=============================================="
|
||||||
RESPOND MSG=" STARTING QUICK CALIBRATION"
|
RESPOND MSG=" STARTING QUICK CALIBRATION"
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro PA_TEST_PATTERN]
|
[gcode_macro PA_TEST_PATTERN]
|
||||||
description: Print Pressure Advance test pattern
|
description: Print Pressure Advance test pattern
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set START_PA = params.START|default(0.01)|float %}
|
{% set START_PA = params.START|default(0.01)|float %}
|
||||||
{% set END_PA = params.END|default(0.05)|float %}
|
{% set END_PA = params.END|default(0.05)|float %}
|
||||||
|
|
@ -66,6 +67,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro FLOW_TEST_CUBE]
|
[gcode_macro FLOW_TEST_CUBE]
|
||||||
description: Print flow rate calibration cube
|
description: Print flow rate calibration cube
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set START_FLOW = params.START|default(0.90)|float %}
|
{% set START_FLOW = params.START|default(0.90)|float %}
|
||||||
{% set END_FLOW = params.END|default(1.10)|float %}
|
{% set END_FLOW = params.END|default(1.10)|float %}
|
||||||
|
|
@ -135,6 +137,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro RETRACT_TEST_PATTERN]
|
[gcode_macro RETRACT_TEST_PATTERN]
|
||||||
description: Print retraction test pattern
|
description: Print retraction test pattern
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set START_RETRACT = params.START|default(1.0)|float %}
|
{% set START_RETRACT = params.START|default(1.0)|float %}
|
||||||
{% set END_RETRACT = params.END|default(4.0)|float %}
|
{% set END_RETRACT = params.END|default(4.0)|float %}
|
||||||
|
|
@ -210,6 +213,7 @@ gcode:
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[gcode_macro TEMP_TOWER]
|
[gcode_macro TEMP_TOWER]
|
||||||
description: Print temperature tower
|
description: Print temperature tower
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% set START_TEMP = params.START|default(195)|int %}
|
{% set START_TEMP = params.START|default(195)|int %}
|
||||||
{% set END_TEMP = params.END|default(225)|int %}
|
{% set END_TEMP = params.END|default(225)|int %}
|
||||||
|
|
|
||||||
|
|
@ -1,58 +1,39 @@
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# USER SETTINGS - Neptune 4 Plus with Cartographer 3D
|
# USER SETTINGS - Neptune 4 Plus with Cartographer 3D
|
||||||
# ============================================================================
|
# Optimized for Bambu Lab Hotend (23 mm³/s) & Original Hotend (15 mm³/s)
|
||||||
# Includes are loaded in order - later includes override earlier ones
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
[include KNCM_settings.cfg] # Nozzle cleaning macros
|
[include KNCM_settings.cfg]
|
||||||
[include calibration/*.cfg] # Calibration suite (Z-offset, PA, etc.)
|
[include open4neptune-new/calibration/*.cfg]
|
||||||
|
|
||||||
[skew_correction]
|
[skew_correction]
|
||||||
|
|
||||||
#[probe]
|
# ============================================================================
|
||||||
#pin:^PA11
|
# CARTOGRAPHER 3D PROBE CONFIGURATION
|
||||||
#x_offset: -24.25
|
# ============================================================================
|
||||||
#y_offset: 20.45
|
|
||||||
#z_offset = 0.0
|
|
||||||
#speed: 6.0
|
|
||||||
#samples: 3
|
|
||||||
#samples_result: median
|
|
||||||
#sample_retract_dist: 3.0
|
|
||||||
#samples_tolerance: 0.025
|
|
||||||
#samples_tolerance_retries: 3
|
|
||||||
|
|
||||||
#[resonance_tester]
|
|
||||||
#accel_chip_x: adxl345 x
|
|
||||||
#accel_chip_y: adxl345 y
|
|
||||||
#max_smoothing: 0.15
|
|
||||||
#probe_points:
|
|
||||||
# 162.5, 162.5, 20
|
|
||||||
|
|
||||||
[stepper_z]
|
[stepper_z]
|
||||||
endstop_pin: probe:z_virtual_endstop
|
endstop_pin: probe:z_virtual_endstop
|
||||||
homing_retract_dist: 0
|
homing_retract_dist: 0
|
||||||
|
|
||||||
[mcu cartographer] # See https://www.klipper3d.org/Config_Reference.html#mcu
|
[mcu cartographer]
|
||||||
# Remove either the serial or canbus_uuid line dependant on your setup.
|
|
||||||
serial: /dev/serial/by-id/usb-Cartographer_614e_0A0002000643303459323220-if00
|
serial: /dev/serial/by-id/usb-Cartographer_614e_0A0002000643303459323220-if00
|
||||||
#canbus_uuid: <blank>
|
|
||||||
#restart_method: command # Not needed for probes using CAN.
|
|
||||||
|
|
||||||
[cartographer]
|
[cartographer]
|
||||||
mcu: cartographer
|
mcu: cartographer
|
||||||
x_offset: 0 # This is the offset of your probe from the nozzle tip, to the centre of the coil.
|
x_offset: 0
|
||||||
y_offset: 22 # This is the offset of your probe from the nozzle tip, to the centre of the coil.
|
y_offset: 22
|
||||||
verbose: no # For extra output
|
verbose: no
|
||||||
|
|
||||||
[bed_mesh]
|
[bed_mesh]
|
||||||
zero_reference_position: 165, 165 # The centre of your bed.
|
zero_reference_position: 165, 165
|
||||||
speed: 300
|
speed: 300
|
||||||
horizontal_move_z: 3
|
horizontal_move_z: 3
|
||||||
mesh_min: 10, 21 # The first probed coordinate, nearest to the origin. This coordinate is relative to the probe's location.
|
mesh_min: 10, 21
|
||||||
mesh_max: 300.75, 315.45 # The probed coordinate farthest from the origin. This is not necessarily the last point probed, as the probing process occurs in a zig-zag fashion. As with mesh_min, this coordinate is relative to the probe's location.
|
mesh_max: 300.75, 315.45
|
||||||
probe_count: 20, 20
|
probe_count: 20, 20
|
||||||
adaptive_margin: 10
|
adaptive_margin: 10
|
||||||
mesh_pps: 0,0 # Disable interpolation - mesh is probably dense enough
|
mesh_pps: 0,0
|
||||||
|
|
||||||
[temperature_sensor cartographer]
|
[temperature_sensor cartographer]
|
||||||
sensor_type: temperature_mcu
|
sensor_type: temperature_mcu
|
||||||
|
|
@ -61,102 +42,59 @@ min_temp: 5
|
||||||
max_temp: 105
|
max_temp: 105
|
||||||
|
|
||||||
[adxl345]
|
[adxl345]
|
||||||
# Select 1 of the cs_pin below depending on the probe you have.
|
cs_pin: cartographer:PA3
|
||||||
# Having the wrong one selected will cause an Endless Bootloop
|
|
||||||
# Cartographer V4 has int2 connected to the probes PA1 pin
|
|
||||||
cs_pin: cartographer:PA3 # For Cartographer V3
|
|
||||||
#cs_pin: cartographer:PA0 # For Cartographer V4
|
|
||||||
spi_bus: spi1
|
spi_bus: spi1
|
||||||
|
|
||||||
[resonance_tester]
|
[resonance_tester]
|
||||||
accel_chip: adxl345
|
accel_chip: adxl345
|
||||||
probe_points:
|
probe_points:
|
||||||
165, 165, 20 # Fill out the blank with x and y coordinates where you want to run the resonance test.
|
165, 165, 20
|
||||||
|
|
||||||
#[scanner]
|
|
||||||
#serial: /dev/serial/by-id/usb-Cartographer_614e_0A0002000643303459323220-if00
|
|
||||||
# Offsets are measured from the centre of your coil, to the tip of your nozzle
|
|
||||||
# on a level axis. It is vital that this is accurate.
|
|
||||||
#x_offset: 0
|
|
||||||
# adjust for your cartographers offset from nozzle to middle of coil
|
|
||||||
#y_offset: 22
|
|
||||||
# adjust for your cartographers offset from nozzle to middle of coil
|
|
||||||
##
|
|
||||||
#backlash_comp: 0.01346
|
|
||||||
# Backlash compensation distance for removing Z backlash before measuring
|
|
||||||
# the sensor response.
|
|
||||||
#sensor: cartographer
|
|
||||||
# this must be set as cartographer unless using IDM etc.
|
|
||||||
#sensor_alt: carto
|
|
||||||
# alternate name to call commands. CARTO_TOUCH etc
|
|
||||||
#mesh_runs: 2
|
|
||||||
# Number of passes to make during mesh scan.
|
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# FILAMENT SENSORS
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
[filament_switch_sensor filament_sensor]
|
[filament_switch_sensor filament_sensor]
|
||||||
pause_on_runout: True
|
pause_on_runout: True
|
||||||
#insert_gcode:
|
|
||||||
# M117 Insert Detected
|
|
||||||
runout_gcode:
|
runout_gcode:
|
||||||
{action_respond_info("FILAMENT SENSOR TRIGGERED")}
|
{action_respond_info("FILAMENT SENSOR TRIGGERED")}
|
||||||
M117 Runout Detected
|
M117 Runout Detected
|
||||||
## The minimum amount of time in seconds to delay between events.
|
|
||||||
## Events triggered during this time period will be silently
|
|
||||||
## ignored. The default is 3 seconds.
|
|
||||||
event_delay: 5.0
|
event_delay: 5.0
|
||||||
## The amount of time to delay, in seconds, between the pause command
|
|
||||||
## dispatch and execution of the runout_gcode. It may be useful to
|
|
||||||
## increase this delay if OctoPrint exhibits strange pause behavior.
|
|
||||||
## Default is 0.5 seconds.
|
|
||||||
pause_delay: 1.5
|
pause_delay: 1.5
|
||||||
switch_pin: PA12
|
switch_pin: PA12
|
||||||
|
|
||||||
[filament_motion_sensor filament_motion]
|
[filament_motion_sensor filament_motion]
|
||||||
switch_pin: PC1
|
switch_pin: PC1
|
||||||
detection_length: 8.00 # Supports down to 2.88
|
detection_length: 8.00
|
||||||
extruder: extruder
|
extruder: extruder
|
||||||
pause_on_runout: False
|
pause_on_runout: False
|
||||||
## The minimum amount of time in seconds to delay between events.
|
|
||||||
## Events triggered during this time period will be silently
|
|
||||||
## ignored. The default is 3 seconds.
|
|
||||||
event_delay: 5.0
|
event_delay: 5.0
|
||||||
## The amount of time to delay, in seconds, between the pause command
|
|
||||||
## dispatch and execution of the runout_gcode. It may be useful to
|
|
||||||
## increase this delay if OctoPrint exhibits strange pause behavior.
|
|
||||||
## Default is 0.5 seconds.
|
|
||||||
pause_delay: 2.0
|
pause_delay: 2.0
|
||||||
runout_gcode:
|
runout_gcode:
|
||||||
{action_respond_info("FILAMENT MOTION TRIGGERED")}
|
{action_respond_info("FILAMENT MOTION TRIGGERED")}
|
||||||
M117 Runout Detected
|
M117 Runout Detected
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# PRINT START MACRO - Optimized with Cartographer
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
## ---------------------------------------------------------------------------- ##
|
[gcode_macro PRINT_START]
|
||||||
## PRINT_START MACRO ##
|
group: Printing
|
||||||
## ---------------------------------------------------------------------------- ##
|
|
||||||
|
|
||||||
## Start print gcode defined here. In slicer, use only the following lines for start gcode:
|
|
||||||
## in slicer, use only the following lines for start gcode:
|
|
||||||
## PrusaSlicer: ## PRINT_START EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]
|
|
||||||
## OrcaSlicer: ## PRINT_START EXTRUDER_TEMP=[nozzle_temperature_initial_layer] BED_TEMP=[bed_temperature_initial_layer_single]
|
|
||||||
## SuperSlicer: ## PRINT_START EXTRUDER_TEMP={first_layer_temperature[initial_extruder]+extruder_temperature_offset[initial_extruder]} BED_TEMP=[first_layer_bed_temperature]
|
|
||||||
## Cura: ## PRINT_START EXTRUDER_TEMP={material_print_temperature_layer_0} BED_TEMP={material_bed_temperature_layer_0}
|
|
||||||
|
|
||||||
[gcode_macro PRINT_START_NOCCI]
|
|
||||||
gcode:
|
gcode:
|
||||||
#--- Setup & Reset ---
|
#--- Setup & Reset ---
|
||||||
M117 Setting up parameters...
|
M117 Setting up parameters...
|
||||||
RESPOND MSG="Starting Print Sequence..."
|
RESPOND MSG="Starting Print Sequence..."
|
||||||
|
|
||||||
SET_GCODE_OFFSET Z=0 ; ⭐ NEW: Reset Z-Offset for Cartographer
|
SET_GCODE_OFFSET Z=0
|
||||||
G92 E0
|
G92 E0
|
||||||
G90 ; Absolute positioning
|
G90
|
||||||
BED_MESH_CLEAR
|
BED_MESH_CLEAR
|
||||||
Frame_Light_ON
|
Frame_Light_ON
|
||||||
Part_Light_ON
|
Part_Light_ON
|
||||||
|
|
||||||
#--- Home with Cartographer ---
|
#--- Home with Cartographer ---
|
||||||
CG28 ; ⭐ CHANGE: G28 → CG28 (Open4Neptune smart home)
|
CG28
|
||||||
CARTOGRAPHER_TOUCH_HOME ; ⭐ NEW: Precise Z0 measurement with Cartographer
|
CARTOGRAPHER_TOUCH_HOME
|
||||||
|
|
||||||
#--- Parameters ---
|
#--- Parameters ---
|
||||||
{% set BED_TEMP = params.BED_TEMP|default(60)|float %}
|
{% set BED_TEMP = params.BED_TEMP|default(60)|float %}
|
||||||
|
|
@ -164,7 +102,7 @@ gcode:
|
||||||
{% set FILAMENT_TYPE = params.FILAMENT_TYPE|default("PLA")|upper %}
|
{% set FILAMENT_TYPE = params.FILAMENT_TYPE|default("PLA")|upper %}
|
||||||
|
|
||||||
#--- Pre-Heat ---
|
#--- Pre-Heat ---
|
||||||
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=160 ; No-drip pre-heat
|
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=160
|
||||||
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={BED_TEMP}
|
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={BED_TEMP}
|
||||||
|
|
||||||
#--- Wait for Bed & Mesh ---
|
#--- Wait for Bed & Mesh ---
|
||||||
|
|
@ -177,8 +115,8 @@ gcode:
|
||||||
|
|
||||||
#--- Final Heat ---
|
#--- Final Heat ---
|
||||||
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={EXTRUDER_TEMP}
|
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={EXTRUDER_TEMP}
|
||||||
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={EXTRUDER_TEMP-2} MAXIMUM={EXTRUDER_TEMP+2} ; ⭐ TIGHTER: ±2°C
|
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={EXTRUDER_TEMP-2} MAXIMUM={EXTRUDER_TEMP+2}
|
||||||
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={BED_TEMP-2} MAXIMUM={BED_TEMP+2} ; ⭐ TIGHTER: ±2°C
|
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={BED_TEMP-2} MAXIMUM={BED_TEMP+2}
|
||||||
|
|
||||||
#--- Prime & Start ---
|
#--- Prime & Start ---
|
||||||
SMART_PARK
|
SMART_PARK
|
||||||
|
|
@ -191,107 +129,43 @@ gcode:
|
||||||
M117 Printer goes brrbrrr...:)
|
M117 Printer goes brrbrrr...:)
|
||||||
RESPOND MSG="Print starting..."
|
RESPOND MSG="Print starting..."
|
||||||
|
|
||||||
## ---------------------------------------------------------------------------- ##
|
# ============================================================================
|
||||||
## PRINT_END MACRO ##
|
# PRINT END MACRO - Optimized
|
||||||
## ---------------------------------------------------------------------------- ##
|
# ============================================================================
|
||||||
|
|
||||||
## End print gcode defined here. In slicer, use only the following lines for start gcode:
|
[gcode_macro PRINT_END]
|
||||||
## PrusaSlicer/OrcaSlicer/SuperSlicer: PRINT_END
|
group: Printing
|
||||||
## Cura: PRINT_END
|
|
||||||
|
|
||||||
[gcode_macro PRINT_END_NOCCI]
|
|
||||||
description: Optimized PRINT_END with better user feedback
|
|
||||||
gcode:
|
gcode:
|
||||||
M117 Finishing print... ; LCD message
|
M117 Finishing print...
|
||||||
RESPOND MSG="Print completed! Finishing up..."
|
RESPOND MSG="Print completed! Finishing up..."
|
||||||
|
|
||||||
M400 ; Wait for buffer to clear
|
M400
|
||||||
TURN_OFF_HEATERS ; Turn off all heaters
|
TURN_OFF_HEATERS
|
||||||
G92 E0 ; Reset extruder
|
G92 E0
|
||||||
G91 ; Relative positioning
|
G91
|
||||||
G1 E-2 F2700 ; Retract filament
|
G1 E-2 F2700
|
||||||
G1 X5 Y5 F3000 ; Wipe nozzle
|
G1 X5 Y5 F3000
|
||||||
G1 E-2 Z0.2 F1600 ; Retract and lift Z
|
G1 E-2 Z0.2 F1600
|
||||||
G1 Z10 F3000 ; Raise Z more (total ~10mm)
|
G1 Z10 F3000
|
||||||
G90 ; Absolute positioning
|
G90
|
||||||
G1 X0 Y315 F3000 ; Present print (Neptune 4 Plus)
|
G1 X0 Y315 F3000
|
||||||
M107 ; Turn off part fan
|
M107
|
||||||
Frame_Light_OFF ; Turn off frame light
|
Frame_Light_OFF
|
||||||
Part_Light_OFF ; Turn off part light
|
Part_Light_OFF
|
||||||
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
|
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
|
||||||
SET_FILAMENT_SENSOR SENSOR=filament_motion ENABLE=0
|
SET_FILAMENT_SENSOR SENSOR=filament_motion ENABLE=0
|
||||||
M84 ; Disable all steppers
|
M84
|
||||||
END_TUNE ; Play completion jingle
|
END_TUNE
|
||||||
M117 Done! Have a nice day! :) ; Final LCD message
|
M117 Done! Have a nice day! :)
|
||||||
RESPOND MSG="Print complete! You can remove your print now."
|
RESPOND MSG="Print complete! You can remove your print now."
|
||||||
|
|
||||||
#######################################################################
|
# ============================================================================
|
||||||
## Start Macro
|
# HELPER MACROS
|
||||||
#######################################################################
|
# ============================================================================
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
## Clean Nozzle
|
|
||||||
#######################################################################
|
|
||||||
[gcode_macro CLEAN_NOZZLE_OLD]
|
|
||||||
gcode:
|
|
||||||
{% set LOWERED_EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(200)|int-30 %}
|
|
||||||
{% set WIPES = params.WIPES|default(10)|int %}
|
|
||||||
#Position the nozzle
|
|
||||||
G90
|
|
||||||
G0 X-10 Y20 Z10 F5000
|
|
||||||
#Heat up nozzle to extruder temperature - 40°C
|
|
||||||
{action_respond_info("Clean nozzle: Heating up to {}°C the do {} wipes.".format(
|
|
||||||
(LOWERED_EXTRUDER_TEMP),
|
|
||||||
(WIPES)
|
|
||||||
))}
|
|
||||||
M109 S{LOWERED_EXTRUDER_TEMP}
|
|
||||||
#Bring the nozzle down
|
|
||||||
G0 Z4
|
|
||||||
#Swing the nozzle
|
|
||||||
{% for wipe in range(WIPES) %}
|
|
||||||
G0 Y5 F3000
|
|
||||||
G0 Y35 F3000
|
|
||||||
{% endfor %}
|
|
||||||
#Bring the nozzle up
|
|
||||||
G0 X-10 Y20 Z10 F5000
|
|
||||||
# Home to get the correct offset
|
|
||||||
# G28
|
|
||||||
|
|
||||||
[gcode_macro CLEAN_NOZZLE_WHILE_PRINT]
|
|
||||||
gcode:
|
|
||||||
{% set LOWERED_EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(240)|int-40 %}
|
|
||||||
{% set WIPES = params.WIPES|default(10)|int %}
|
|
||||||
#Position the nozzle
|
|
||||||
G90
|
|
||||||
G0 X-10 Y20 Z10 F5000
|
|
||||||
#Heat up nozzle to extruder temperature - 40°C
|
|
||||||
{action_respond_info("Clean nozzle: Heating up to {}°C the do {} wipes.".format(
|
|
||||||
(LOWERED_EXTRUDER_TEMP),
|
|
||||||
(WIPES)
|
|
||||||
))}
|
|
||||||
M109 S{LOWERED_EXTRUDER_TEMP}
|
|
||||||
#Bring the nozzle down
|
|
||||||
G0 Z4
|
|
||||||
#Swing the nozzle
|
|
||||||
{% for wipe in range(WIPES) %}
|
|
||||||
G0 Y5 F3000
|
|
||||||
G0 Y35 F3000
|
|
||||||
{% endfor %}
|
|
||||||
#Bring the nozzle up
|
|
||||||
G0 X-10 Y20 Z10 F5000
|
|
||||||
# Home to get the correct offset
|
|
||||||
# G28
|
|
||||||
#### CUSTOM END
|
|
||||||
#[gcode_macro update_git]
|
|
||||||
#gcode:
|
|
||||||
# RUN_SHELL_COMMAND CMD=update_git_script
|
|
||||||
|
|
||||||
#[gcode_shell_command update_git_script]
|
|
||||||
#command: bash -c "bash $HOME/klipper-backup/script.sh"
|
|
||||||
#timeout: 90.0
|
|
||||||
|
|
||||||
[gcode_macro QUICK_TOUCH]
|
[gcode_macro QUICK_TOUCH]
|
||||||
description: Führt eine schnelle Z-Messung per Touch durch
|
description: Quick Z measurement with Cartographer
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% if printer.toolhead.homed_axes != "xyz" %}
|
{% if printer.toolhead.homed_axes != "xyz" %}
|
||||||
G28
|
G28
|
||||||
|
|
@ -299,88 +173,62 @@ gcode:
|
||||||
G1 Z10 F600
|
G1 Z10 F600
|
||||||
CARTOGRAPHER_TOUCH
|
CARTOGRAPHER_TOUCH
|
||||||
|
|
||||||
|
|
||||||
[gcode_macro CALIBRATE_PROBE]
|
[gcode_macro CALIBRATE_PROBE]
|
||||||
description: Startet die manuelle Z-Offset Kalibrierung
|
description: Manual Z-offset calibration
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% if printer.toolhead.homed_axes != "xyz" %}
|
{% if printer.toolhead.homed_axes != "xyz" %}
|
||||||
G28 # Homed, falls noch nicht geschehen
|
G28
|
||||||
{% endif %}
|
{% endif %}
|
||||||
G1 X{printer.toolhead.axis_maximum.x / 2} Y{printer.toolhead.axis_maximum.y / 2} Z10 F6000
|
G1 X{printer.toolhead.axis_maximum.x / 2} Y{printer.toolhead.axis_maximum.y / 2} Z10 F6000
|
||||||
CARTOGRAPHER_CALIBRATE
|
CARTOGRAPHER_CALIBRATE
|
||||||
|
|
||||||
|
[gcode_macro BABYZ_PLUS]
|
||||||
|
group: Helpers
|
||||||
|
gcode:
|
||||||
|
SET_GCODE_OFFSET Z_ADJUST=0.005 MOVE=1
|
||||||
|
|
||||||
|
[gcode_macro BABYZ_MINUS]
|
||||||
|
group: Helpers
|
||||||
|
gcode:
|
||||||
|
SET_GCODE_OFFSET Z_ADJUST=-0.005 MOVE=1
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# FAN CONFIGURATION
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
[controller_fan heatbreak+mainboard_fan]
|
[controller_fan heatbreak+mainboard_fan]
|
||||||
fan_speed: 0.40
|
fan_speed: 0.40
|
||||||
idle_speed: 0.40
|
idle_speed: 0.40
|
||||||
cycle_time: 0.00004
|
cycle_time: 0.00004
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# STEPPER DRIVERS
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
[tmc2209 stepper_x]
|
[tmc2209 stepper_x]
|
||||||
driver_SGTHRS: 110
|
driver_SGTHRS: 110
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# SAFE Z HOME
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
[safe_z_home]
|
[safe_z_home]
|
||||||
home_xy_position: 165,165
|
home_xy_position: 165,165
|
||||||
# Example home_xy_position: 175,175 - This would be for a 350 * 350mm bed.
|
|
||||||
z_hop: 10
|
z_hop: 10
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# SKEW CORRECTION
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
|
[skew_correction noccis_skew_profile]
|
||||||
|
xy_skew = 0.00100050075747056
|
||||||
|
xz_skew = 0.0
|
||||||
|
yz_skew = 0.0
|
||||||
|
|
||||||
#[temperature_sensor cartographer]
|
# ============================================================================
|
||||||
#sensor_type: temperature_mcu
|
# SCREWS TILT ADJUST (for manual bed leveling)
|
||||||
#sensor_mcu: cartographer
|
# ============================================================================
|
||||||
#min_temp: 5
|
|
||||||
#max_temp: 105
|
|
||||||
|
|
||||||
[bed_mesh]
|
|
||||||
zero_reference_position: 165.00,165.00
|
|
||||||
|
|
||||||
[stepper_z]
|
|
||||||
endstop_pin: probe:z_virtual_endstop # use cartographer as virtual endstop
|
|
||||||
homing_retract_dist: 0 # cartographer needs this to be set to 0
|
|
||||||
|
|
||||||
|
|
||||||
[bed_mesh]
|
|
||||||
zero_reference_position: 162.5 ,162.5
|
|
||||||
# set this to the middle of your bed
|
|
||||||
speed: 200
|
|
||||||
# movement speed of toolhead during bed mesh
|
|
||||||
horizontal_move_z: 5
|
|
||||||
# height of scanner during bed mesh scan
|
|
||||||
mesh_min: 35, 6
|
|
||||||
# start point of bed mesh [X, Y]
|
|
||||||
mesh_max: 240, 198
|
|
||||||
# end point of bed mesh [X, Y]
|
|
||||||
probe_count: 30, 30
|
|
||||||
algorithm: bicubic
|
|
||||||
|
|
||||||
[gcode_macro PROBE_CALIBRATE]
|
|
||||||
gcode:
|
|
||||||
CARTOGRAPHER_CALIBRATE
|
|
||||||
|
|
||||||
|
|
||||||
#[mcu scanner]
|
|
||||||
|
|
||||||
#serial: //dev/serial/by-id/usb-Cartographer_614e_0A0002000643303459323220-if00
|
|
||||||
# adjust to suit your scanner, if using usb change to serial
|
|
||||||
|
|
||||||
#[temperature_sensor Cartographer_MCU]
|
|
||||||
#sensor_type: temperature_mcu
|
|
||||||
#sensor_mcu: scanner
|
|
||||||
#min_temp: 0
|
|
||||||
#max_temp: 105
|
|
||||||
|
|
||||||
|
|
||||||
[force_move]
|
|
||||||
enable_force_move: True
|
|
||||||
|
|
||||||
#[adxl345]
|
|
||||||
#cs_pin: scanner:PA3
|
|
||||||
#spi_bus: spi1
|
|
||||||
|
|
||||||
[resonance_tester]
|
|
||||||
accel_chip: adxl345
|
|
||||||
probe_points:
|
|
||||||
165.2, 165.2, 20
|
|
||||||
|
|
||||||
[screws_tilt_adjust]
|
[screws_tilt_adjust]
|
||||||
screw1: 165.0,189.55
|
screw1: 165.0,189.55
|
||||||
|
|
@ -403,35 +251,13 @@ horizontal_move_z: 5
|
||||||
speed: 150
|
speed: 150
|
||||||
screw_thread: CW-M4
|
screw_thread: CW-M4
|
||||||
|
|
||||||
[gcode_macro BABYZ_PLUS]
|
# ============================================================================
|
||||||
# Babystep Up .05
|
# FORCE MOVE (for manual adjustments)
|
||||||
gcode:
|
# ============================================================================
|
||||||
SET_GCODE_OFFSET Z_ADJUST=0.005 MOVE=1
|
|
||||||
|
|
||||||
[gcode_macro BABYZ_MINUS]
|
[force_move]
|
||||||
# Babystep Down .05
|
enable_force_move: True
|
||||||
gcode:
|
|
||||||
SET_GCODE_OFFSET Z_ADJUST=-0.005 MOVE=1
|
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
# END OF USER SETTINGS
|
||||||
#############################################################################
|
# ============================================================================
|
||||||
# OLD Probe Config
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
#[probe]
|
|
||||||
#pin:^PA11
|
|
||||||
#x_offset: -24.25
|
|
||||||
#y_offset: 20.45
|
|
||||||
#z_offset = 1.660
|
|
||||||
#speed: 10.0
|
|
||||||
#samples: 2
|
|
||||||
#samples_result: average
|
|
||||||
#sample_retract_dist: 3.0
|
|
||||||
#samples_tolerance: 0.025
|
|
||||||
#samples_tolerance_retries: 3
|
|
||||||
|
|
||||||
[skew_correction noccis_skew_profile]
|
|
||||||
xy_skew = 0.00100050075747056
|
|
||||||
xz_skew = 0.0
|
|
||||||
yz_skew = 0.0
|
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,7 @@ runout_gcode:
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
[gcode_macro PRINT_START]
|
[gcode_macro PRINT_START]
|
||||||
|
group: Printing
|
||||||
gcode:
|
gcode:
|
||||||
#--- Setup & Reset ---
|
#--- Setup & Reset ---
|
||||||
M117 Setting up parameters...
|
M117 Setting up parameters...
|
||||||
|
|
@ -133,6 +134,7 @@ gcode:
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
[gcode_macro PRINT_END]
|
[gcode_macro PRINT_END]
|
||||||
|
group: Printing
|
||||||
gcode:
|
gcode:
|
||||||
M117 Finishing print...
|
M117 Finishing print...
|
||||||
RESPOND MSG="Print completed! Finishing up..."
|
RESPOND MSG="Print completed! Finishing up..."
|
||||||
|
|
@ -163,6 +165,7 @@ gcode:
|
||||||
|
|
||||||
[gcode_macro QUICK_TOUCH]
|
[gcode_macro QUICK_TOUCH]
|
||||||
description: Quick Z measurement with Cartographer
|
description: Quick Z measurement with Cartographer
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% if printer.toolhead.homed_axes != "xyz" %}
|
{% if printer.toolhead.homed_axes != "xyz" %}
|
||||||
G28
|
G28
|
||||||
|
|
@ -172,6 +175,7 @@ gcode:
|
||||||
|
|
||||||
[gcode_macro CALIBRATE_PROBE]
|
[gcode_macro CALIBRATE_PROBE]
|
||||||
description: Manual Z-offset calibration
|
description: Manual Z-offset calibration
|
||||||
|
group: Calibration
|
||||||
gcode:
|
gcode:
|
||||||
{% if printer.toolhead.homed_axes != "xyz" %}
|
{% if printer.toolhead.homed_axes != "xyz" %}
|
||||||
G28
|
G28
|
||||||
|
|
@ -180,10 +184,12 @@ gcode:
|
||||||
CARTOGRAPHER_CALIBRATE
|
CARTOGRAPHER_CALIBRATE
|
||||||
|
|
||||||
[gcode_macro BABYZ_PLUS]
|
[gcode_macro BABYZ_PLUS]
|
||||||
|
group: Helpers
|
||||||
gcode:
|
gcode:
|
||||||
SET_GCODE_OFFSET Z_ADJUST=0.005 MOVE=1
|
SET_GCODE_OFFSET Z_ADJUST=0.005 MOVE=1
|
||||||
|
|
||||||
[gcode_macro BABYZ_MINUS]
|
[gcode_macro BABYZ_MINUS]
|
||||||
|
group: Helpers
|
||||||
gcode:
|
gcode:
|
||||||
SET_GCODE_OFFSET Z_ADJUST=-0.005 MOVE=1
|
SET_GCODE_OFFSET Z_ADJUST=-0.005 MOVE=1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue