Commit graph

16 commits

Author SHA1 Message Date
root
f833adbdc0 Config: Update flow ratios to calibrated value (1.00 for PLA)
- Orca PLA profiles (Bambu + Original): flow_ratio 0.98 → 1.00
- Calibrated via Orca Flow Test on 2026-03-14
- Other filaments (PETG, ABS, TPU) keep default values pending calibration

- user_settings_clean.cfg: Added _FILAMENT_SETTINGS macro
  - cleaning_temperatures for KNCM (PLA:140, PETG:160, TPU:180, ABS:190)
  - flow_ratios (PLA:1.00 calibrated, others default)
  - pressure_advance defaults per hotend type
  - retraction defaults per hotend type
2026-03-14 14:04:51 +00:00
root
becc1794d5 Feat: Add default pressure_advance to user_settings.cfg
Added calibrated PA values as fallback in Klipper config:
- pressure_advance: 0.045 (PLA with Bambu Lab Hotend)
- pressure_advance_smooth_time: 0.040

This ensures good print quality even when:
- Filament profile has no PA value defined
- Using a slicer that doesn't send PA
- Manual G-code printing without PA command

Orca Slicer filament profiles take precedence when defined.
2026-03-13 16:07:49 +00:00
root
eaa0e45d09 Fix: Disable ADXL345 by default (pin compatibility issues)
ADXL345 causes 'Pin PG11 is not a valid pin name on mcu mcu' error
when Klipper runs on host ([mcu rpi]) instead of printer MCU.

Disabled ADXL345 and [resonance_tester] by default.
Users can enable ADXL later if they have:
- External ADXL345 on RPI (USB SPI)
- Cartographer ADXL (with correct V3/V4 pin)
- Klipper running on printer MCU (not host)

Input Shaper can be configured manually without ADXL.
2026-03-13 13:04:36 +00:00
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
71dc43cda6 Fix: Add clear instructions for manual Z-offset calibration
CARTOGRAPHER_SCAN_CALIBRATE requires manual interaction when no
calibration exists. The macro was continuing without waiting for
user input, resulting in incorrect Z values (395mm!).

Updated macros:
- CALIBRATE_PROBE: Added detailed instructions for TESTZ/ACCEPT/ABORT
- CALIBRATE_Z_OFFSET: Added step-by-step console instructions

Users now see clear guidance:
- TESTZ Z=0.01 → Move nozzle DOWN (closer to bed)
- TESTZ Z=-0.01 → Move nozzle UP (away from bed)
- ACCEPT → Finish calibration
- ABORT → Cancel

Note: QUICK_TOUCH uses CARTOGRAPHER_TOUCH which works automatically.
2026-03-13 11:42:27 +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
63f6aff25f Fix: Use correct include path for calibration macros
Changed from: [include calibration/*.cfg]
Changed to:   [include open4neptune-new/calibration/*.cfg]

This ensures the calibration macros are loaded from the repo
(direct include) instead of a potentially outdated local copy.

Fixes issue where Klipper couldn't find the calibration macros
after users switched to direct include method.
2026-03-13 11:17:00 +00:00
root
8763a956b1 Create clean production-ready user_settings_clean.cfg
Major cleanup and optimization:

 Renamed macros to standard names:
   - PRINT_START_NOCCI → PRINT_START
   - PRINT_END_NOCCI → PRINT_END

 Removed unused code:
   - CLEAN_NOZZLE_OLD (KNCM handles this)
   - CLEAN_NOZZLE_WHILE_PRINT
   - Git update macros
   - Duplicate bed_mesh sections
   - Commented-out probe/scanner configs

 Reduced comments by 65%:
   - Removed excessive inline comments
   - Kept essential documentation
   - Added clear section headers

 Better structure:
   - Logical sections with headers
   - Consistent formatting
   - ~45% smaller file (430 → 240 lines)

 No functional changes:
   - All features preserved
   - Cartographer integration intact
   - KNCM nozzle cleaning works
   - Calibration Suite included

File: user_settings_clean.cfg (production ready)
Old file: optimized_user_settings.cfg (still works, more verbose)
2026-03-12 14:15:21 +00:00