open4neptune-new/KNCM_settings.cfg
root e22df9b5ab Feat: Replace custom KNCM with official Open-Elegoo-Community version
Replaced our custom nozzle cleaning macros with the official
Klipper Nozzle Clean Macro (KNCM) from Open-Elegoo-Community.

Changes:
- Added KNCM/nozzle_clean.cfg (official macro code)
- Updated KNCM_settings.cfg with official variable-based config
- Updated KNCM/KNCM_settings.cfg (copy for include path)
- Removed custom CLEAN_NOZZLE, SMART_PARK, LINE_PURGE macros

Benefits of official KNCM:
- Proper wiper position calculation (not hardcoded X0 Y0!)
- Variable-based configuration (easy to customize)
- Filament-specific cleaning temperatures
- Sinusoidal wiping pattern for better cleaning
- PurgeShake to remove strings before wiping
- Actively maintained by Open-Elegoo-Community

Neptune 4 Plus specific settings:
- printer_bed_y_max: 330
- wiping_axis: Y (bed moves)
- cleaning_height: 30 (CALIBRATE THIS!)
- bed_corner_to_wiper_offset: 40.5 (MEASURE THIS!)

Reference: https://github.com/Open-Elegoo-Community/klipper-nozzle-clean-macro
2026-03-13 16:38:54 +00:00

108 lines
4 KiB
INI

#############################################################################
# NOZZLE CLEAN SETTINGS - Neptune 4 Plus
#############################################################################
# Original: https://github.com/Open-Elegoo-Community/klipper-nozzle-clean-macro
# Adapted for Neptune 4 Plus with corner wiper holder
#
# INSTALLATION:
# 1. Install wiper holder: https://www.printables.com/model/1221208-neptune-4-plus-corner-guide-with-wiper
# 2. Measure your wiper position and adjust variables below
# 3. Calibrate cleaning_height carefully!
#############################################################################
[include KNCM/nozzle_clean.cfg]
[gcode_macro _KNCM_SETTINGS]
description: "Nozzle cleaning settings for Neptune 4 Plus"
# ------------------------------------------------------------------------
# BASIC CLEANING CONFIGURATION
# ------------------------------------------------------------------------
# Set nozzle height for cleaning at the brush
# ⚠️ IMPORTANT: Calibrate this value! Start high (35) and work down
# Too low = damages wiper, Too high = doesn't clean
variable_cleaning_height: 30
# Specifies the axis that will move during wiping (X or Y)
# Y = Bed moves (Neptune 4 series)
# X = Nozzle moves (most CoreXY printers)
variable_wiping_axis: 'Y'
# Set maximum Y value of the usable bed area (not the nozzle max travel)
# Neptune 4: 229, Neptune 4 Plus: 330, Neptune 4 Max: 430
variable_printer_bed_y_max: 330
# Number of times the cleaning motions are executed
# 1 loop = 3 passes (first, second, third pass)
variable_cleaning_loops: 1
# Disable (0) / Enable (1) PurgeShake motion before cleaning
# Shakes off filament strings before wiping
variable_purge_shake: 1
# Disable (0) / Enable (1) Wait for nozzle temp restore after cleaning
variable_wait_nozzle_temp_restore: 1
# Disable (0) / Enable (1) debug messages in console
variable_debug: 0
# ------------------------------------------------------------------------
# ACCELERATION (mm/s²) & SPEED SETTINGS (mm/s)
# ------------------------------------------------------------------------
# Acceleration (0 = use printer default acceleration)
variable_acceleration: 0
# Travel speed (fast non-cleaning moves)
variable_travel_speed: 350
# Speed for slow cleaning moves (deep cleaning)
variable_slow_speed: 250
# Speed for fast cleaning moves (final wipe)
variable_fast_speed: 500
# ------------------------------------------------------------------------
# FILAMENT CLEANING TEMPERATURES
# ------------------------------------------------------------------------
# Cleaning temperatures by filament type (lower than print temp)
# Prevents oozing during cleaning
variable_cleaning_temperatures: {
"PLA":140,
"PETG":160,
"TPU":180,
"ABS":190,
"ASA":190
}
# ------------------------------------------------------------------------
# WIPER SETUP (brush geometry and offsets) - NEPTUNE 4 PLUS
# ------------------------------------------------------------------------
# ⚠️ MEASURE THESE VALUES for your specific wiper installation!
# ------------------------------------------------------------------------
# Wiper width (X-axis space used by the brush in mm)
variable_wiper_width: 8
# Wiper length (Y-axis space used by the brush in mm)
variable_wiper_length: 37
# Thickness of the wiper holder wall (distance from bed to silicone start)
# Usually 0 if silicone starts at wall edge
variable_wiper_walloffset: 0
# Distance from bed origin (X=0) to start of silicone brush area
# ⚠️ MEASURE THIS: From X=0 to where silicone begins
# Neptune 4 Plus typical: 40.5mm (adjust for your setup!)
variable_bed_corner_to_wiper_offset: 40.5
# Number of sinusoidal waves during cleaning motion
# More waves = more thorough cleaning, but slower
variable_waves: 2
# ------------------------------------------------------------------------
# !!! DO NOT EDIT BELOW !!!
# ------------------------------------------------------------------------
gcode:
# This macro only stores shared variables, no actual commands
{action_respond_info("Running KNCM_SETTINGS does nothing - it stores settings only")}