Commit graph

12 commits

Author SHA1 Message Date
root
01dc889fd8 Fix: FLOW_TEST_CUBE - print sections at same Z height, not stacked
- Previous: Sections stacked vertically (20mm each, 100mm total!)
- Fixed: All sections print at Z=0.2-1.0mm (4 layers × 0.2mm)
- Much more practical for flow calibration
- Added info message showing actual print height
2026-03-14 13:19:39 +00:00
root
0c561e5054 Fix: Calibration macros now call actual print patterns
- CALIBRATE_PRESSURE_ADVANCE -> calls PA_TEST_PATTERN
- CALIBRATE_FLOW_RATE -> calls FLOW_TEST_CUBE
- CALIBRATE_TEMPERATURE -> calls TEMP_TOWER
- CALIBRATE_RETRACTION -> calls RETRACT_TEST_PATTERN

Previously these macros only printed instructions but didn't execute
the actual calibration prints. Now they properly delegate to the
real pattern macros in test_patterns.cfg.
2026-03-14 13:15:45 +00:00
root
336beb5cf0 Fix: Remove format specifiers from RESPOND MSG templates
- Klipper parser doesn't support :.3f/:.2f/:.1f in template strings
- Affects PA_TEST_PATTERN, FLOW_TEST_CUBE, RETRACT_TEST_PATTERN
- Values will display with default float precision instead
2026-03-14 12:52:49 +00:00
root
9624c1fb74 Remove: CALIBRATION_FULL and CALIBRATION_QUICK macros
These automated calibration suites don't work correctly because:

1. CALIBRATE_Z_OFFSET requires manual interaction (TESTZ/ACCEPT/ABORT)
   - Paper test cannot be automated
   - Macro continued without waiting for user input

2. CALIBRATE_PRESSURE_ADVANCE requires visual inspection
   - User must examine squares and choose best PA value
   - Cannot be automated

3. CALIBRATE_TEMPERATURE requires visual inspection
   - User must examine tower sections for quality
   - Cannot be automated

4. CALIBRATE_RETRACTION requires visual inspection
   - User must examine towers for stringing
   - Cannot be automated

CORRECT WORKFLOW:
Run calibration macros individually from CALIBRATION_MENU:
1. CALIBRATE_Z_OFFSET (manual, one-time)
2. CALIBRATE_INPUT_SHAPER (automatic, one-time)
3. CALIBRATE_PRESSURE_ADVANCE (per filament)
4. CALIBRATE_FLOW_RATE (per filament)
5. CALIBRATE_TEMPERATURE (per filament)
6. CALIBRATE_RETRACTION (per filament)
7. CALIBRATE_BED_MESH (periodic)

Updated CALIBRATION_MENU to show correct workflow.
2026-03-13 16:20:37 +00:00
root
ca8590c925 Fix: Calibrate all test patterns for Neptune 4 Plus bed dimensions
All test patterns now print in the CENTER of the bed (150, 165) instead
of the front-left corner. Fixed patterns:

1. PA_TEST_PATTERN:
   - Centered at X150 Y165 (bed center)
   - Squares: 25mm with 10mm spacing
   - 5 squares per row, auto-calculated positions
   - Proper extrusion amounts

2. FLOW_TEST_CUBE:
   - Centered at X150 Y165
   - 20mm cube, centered coordinates
   - Proper flow-multiplied extrusion

3. RETRACT_TEST_PATTERN:
   - Towers centered on bed
   - 10mm towers with 30mm spacing
   - 4 towers per row
   - Proper stringing travel moves

4. TEMP_TOWER:
   - 20mm tower centered at X150 Y165
   - Proper bridge moves to center
   - Park at front after completion

All patterns now:
- Use BED_CENTER_X=150, BED_CENTER_Y=165 (N4 Plus center)
- Auto-calculate positions based on pattern dimensions
- Park at front of bed after completion
- Show position info in console messages
2026-03-13 16:14:48 +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
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
4d5b9d7243 Fix: Remove Python format specifiers from RESPOND macros
Klipper's Jinja2 parser doesn't support {:.3f} style formatting.
Changed:
- PA_TEST_PATTERN: {current_pa:.3f} → {current_pa}
- FLOW_TEST_CUBE: {current_flow:.2f} → {current_flow}
- RETRACT_TEST_PATTERN: {current_retract:.1f} → {current_retract}

Fixes: Internal error during connect: Error loading template
2026-03-13 10:26:51 +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
3c40c660cf Add complete Calibration Suite with automated macros
New calibration system for Neptune 4 Plus:

📁 Files added:
- calibration/CALIBRATION_GUIDE.md - Complete step-by-step guide
- calibration/README.md - Installation & overview
- calibration/calibration_macros.cfg - All calibration macros
- calibration/test_patterns.cfg - Printable test patterns

🎯 Available macros:
- CALIBRATION_MENU - Main menu with all options
- CALIBRATE_Z_OFFSET - Cartographer Z0 calibration
- CALIBRATE_INPUT_SHAPER - ADXL resonance measurement
- CALIBRATE_PRESSURE_ADVANCE - PA tuning (per filament)
- CALIBRATE_FLOW_RATE - Flow rate calibration
- CALIBRATE_TEMPERATURE - Temperature tower
- CALIBRATE_RETRACTION - Retraction testing
- CALIBRATE_BED_MESH - Bed mesh verification
- CALIBRATION_FULL - Complete suite (~2.5 hours)
- CALIBRATION_QUICK - Essential calibrations (~30 min)

🔧 Test patterns:
- PA_TEST_PATTERN - Pressure Advance test squares
- FLOW_TEST_CUBE - Flow rate calibration cube
- RETRACT_TEST_PATTERN - Retraction test towers
- TEMP_TOWER - Temperature tower

 Features:
- Fully automated calibration sequences
- Cartographer integration for precise Z0
- Per-filament calibration support
- Clear console messages for each step
- Automatic SAVE_CONFIG reminders
- Supports both Original and Bambu hotends

Usage: Run CALIBRATION_MENU in Klipper console
2026-03-12 10:52:06 +00:00