Commit graph

13 commits

Author SHA1 Message Date
root
454b80b514 Fix: Remove gcode_variable (not supported in older Klipper)
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
2026-03-13 12:59:09 +00:00
root
8df3056248 Feat: Add KNCM_settings.cfg with nozzle cleaning macros
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.
2026-03-13 12:38:07 +00:00
root
ed41b090f4 Fix: Use 'cartographer:z_virtual_endstop' instead of 'probe:z_virtual_endstop'
The Cartographer plugin registers as 'cartographer', not 'probe'.
Using 'probe:' causes: 'Unknown pin chip name probe'

Correct syntax:
endstop_pin: cartographer:z_virtual_endstop
2026-03-13 12:34:40 +00:00
root
4db5c7e423 Feat: Use Neptune 4 Plus built-in ADXL345 as default
The Neptune 4 Plus has a built-in ADXL345 accelerometer on the
mainboard. This is more reliable than the Cartographer integrated
ADXL which has version-specific pin requirements (V3: PA3, V4: PA0).

Configuration:
- cs_pin: PG11 (Neptune 4 Plus mainboard ADXL)
- spi_bus: spi2

The Cartographer ADXL config is kept as a commented alternative
for users who prefer to use it.

This fixes: 'Invalid adxl345 id (got 0 vs e5)' errors by using
the known-working mainboard accelerometer.
2026-03-13 12:33:47 +00:00
root
02fec8adbe Fix: Document Cartographer V3 vs V4 ADXL345 cs_pin difference
According to official Cartographer documentation:
- Cartographer V3: cs_pin: cartographer:PA3
- Cartographer V4: cs_pin: cartographer:PA0

Using the wrong pin causes: 'Invalid adxl345 id (got 0 vs e5)'

Added clear documentation in both user_settings_clean.cfg and
optimized_user_settings.cfg to help users select the correct pin.

Reference: https://docs.cartographer3d.com/cartographer-probe/installation-and-setup/software-configuration/klipper-setup
2026-03-13 11:58:49 +00:00
root
2dd2a9ef9d Fix: Configure ADXL345 as separate device (not in cartographer section)
The 'accel_chip' option is not valid in [cartographer] section.
ADXL345 must be configured as a separate [adxl345] device that
communicates via the Cartographer MCU.

Correct configuration:
- [adxl345] with cs_pin: cartographer:PA3 and spi_bus: spi1
- [resonance_tester] with accel_chip: adxl345
- [cartographer] does NOT include accel_chip

This fixes: 'Option accel_chip is not valid in section cartographer'
2026-03-13 11:45:44 +00:00
root
ebae732f4c Fix: Configure ADXL345 as integrated Cartographer component
The ADXL345 accelerometer is built into the Cartographer probe.
It must be configured within the [cartographer] section, not as
a separate [adxl345] device.

Changes:
- Added 'accel_chip: adxl345' to [cartographer] section
- Removed separate [adxl345] section (no longer needed)
- Changed [resonance_tester] to use 'accel_chip: cartographer'
- Added default probe_points for resonance testing

This fixes: 'Invalid adxl345 id (got 0 vs e5)' error

Reference: https://docs.cartographer3d.com/
2026-03-13 11:39:26 +00:00
root
44bc49db09 Fix: Replace deprecated CARTOGRAPHER_CALIBRATE with CARTOGRAPHER_SCAN_CALIBRATE
Cartographer Survey Touch replaced CARTOGRAPHER_CALIBRATE with
CARTOGRAPHER_SCAN_CALIBRATE. The old command still exists but shows
deprecation warnings.

Updated in:
- calibration/calibration_macros.cfg (CALIBRATE_Z_OFFSET macro)
- user_settings_clean.cfg (CALIBRATE_PROBE macro)
- optimized_user_settings.cfg (CALIBRATE_PROBE macro)

Reference: https://docs.cartographer3d.com/cartographer-probe/classic-vs-survey-touch
2026-03-13 11:33:07 +00:00
root
3ac9e9fb1f Revert: Remove 'group' attribute from macros
The 'group' attribute is not supported in all Klipper versions.
This caused: 'Option group is not valid in section gcode_macro'

Macros will appear under 'Uncategorized' in Mainsail/Fluidd
until Klipper adds official support for macro grouping.
2026-03-13 11:24:10 +00:00
root
651f4cb7eb 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'.
2026-03-13 11:20:53 +00:00
root
16fefc72ef Add optimized PRINT_END_NOCCI macro (hybrid version)
Combined best features from printer.cfg PRINT_END and custom version:

From printer.cfg:
- END_TUNE beeper jingle
- Park position X0 Y315 (better visibility)

From custom version:
- Detailed console/LCD messages
- M84 to disable steppers
- Higher Z-park (10mm)
- Both Frame_Light and Part_Light OFF
- Filament sensors disabled

Usage: Call PRINT_END_NOCCI in slicer end gcode
2026-03-12 14:13:16 +00:00
root
f05f64c3b2 Add calibration include to user_settings.cfg
- Added [include calibration/*.cfg] to optimized_user_settings.cfg
- Updated CHANGES.md with complete deployment steps
- Updated calibration/README.md with installation options

Now the calibration macros are automatically available when using
the optimized user_settings.cfg - no manual include needed!
2026-03-12 13:48:06 +00:00
root
913ebfd85f Add optimized PRINT_START_NOCCI with Cartographer improvements
- SET_GCODE_OFFSET Z=0 for consistent Z-Offset reset
- CG28 instead of G28 (Open4Neptune smart home)
- CARTOGRAPHER_TOUCH_HOME for precise Z0 measurement
- Tighter temperature tolerance (±2°C vs ±4-10°C)
- Full documentation in CHANGES.md
2026-03-12 10:20:03 +00:00