Commit graph

5 commits

Author SHA1 Message Date
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