- variable_cleaning_height: 0.6mm (measured Z position)
- variable_bed_corner_to_wiper_offset: -4.7mm (measured X position, corner mount outside bed area)
- User measured final wiping position: X:-4.7 Y:319.6 Z:0.6
Some Klipper versions expect this macro to be defined.
Added a simple placeholder macro to prevent:
'Option gcode in section gcode_macro SDCARD_RESET_FILE must be specified'
The 'gcode_variable' section is not available in all Klipper versions.
Removed it and simplified KNCM_settings.cfg to use direct defaults.
Also reverted to 'probe:z_virtual_endstop' which is correct when
[mcu rpi] is defined in printer.cfg.
Changes:
- KNCM_settings.cfg: Removed [gcode_variable printer_settings]
- user_settings_clean.cfg: endstop_pin: probe:z_virtual_endstop
- optimized_user_settings.cfg: endstop_pin: probe:z_virtual_endstop
Updated KNCM_settings.cfg with printer_variables:
- variable_printer_bed_y_max: 330 (N4Plus)
Was: 229 (N4 - wrong!)
Added all KNCM variables for customization:
- Clean position (X, Y, Z)
- Park position (X, Y, Z)
- Purge line settings (start, end, Y, Z, amount)
Macros now use variables for consistent positioning:
- CLEAN_NOZZLE uses variable_clean_*
- SMART_PARK uses variable_park_*
- LINE_PURGE uses variable_purge_*
This ensures macros use correct bed dimensions for N4 Plus.
Created KNCM_settings.cfg with essential macros:
- CLEAN_NOZZLE: Wipe nozzle on brush/cloth
- SMART_PARK: Park nozzle at front for easy access
- LINE_PURGE: Print purge line at start
- Frame_Light_ON/OFF: Control frame LED (PD14)
- Part_Light_ON/OFF: Control part light (PD13)
Also added [output_pin] definitions for lights:
- frame_light: PD14
- part_light: PD13
This fixes: 'Unknown pin chip name rpi' error caused by
missing KNCM_settings.cfg include.
The file was previously included but didn't exist in the repo.