# ๐Ÿงน Cleanup Notes - user_settings_clean.cfg ## What Changed ### โœ… Renamed to Standard Names - `PRINT_START_NOCCI` โ†’ `PRINT_START` (now active) - `PRINT_END_NOCCI` โ†’ `PRINT_END` (now active) ### โœ… Removed Unused Code - `CLEAN_NOZZLE_OLD` - KNCM handles nozzle cleaning - `CLEAN_NOZZLE_WHILE_PRINT` - Not needed - All commented-out git update macros - Duplicate `[bed_mesh]` sections - Commented-out `[probe]`, `[scanner]`, `[mcu scanner]` sections ### โœ… Reduced Comments - Removed excessive inline comments - Kept essential documentation - Added clear section headers - Removed redundant explanations ### โœ… Kept as Reference (commented but useful) - Old probe config (in case you need to revert) - Alternative ADXL configs - Old scanner configs ### โœ… Structure - Organized into logical sections - Clear section headers - Consistent formatting - Easy to read and maintain ## File Comparison | Metric | optimized_user_settings.cfg | user_settings_clean.cfg | |--------|----------------------------|-------------------------| | **Lines** | ~430 | ~240 | | **Comments** | ~120 | ~40 | | **Active Macros** | 2 (PRINT_START_NOCCI, PRINT_END_NOCCI) | 2 (PRINT_START, PRINT_END) | | **Helper Macros** | 4 | 4 (QUICK_TOUCH, CALIBRATE_PROBE, BABYZ_ยฑ) | | **Unused Code** | ~80 lines | ~0 lines | ## Migration ### Option A: Use Clean Version (Recommended) ```bash cd ~/printer_data/config cp user_settings.cfg user_settings.cfg.backup-$(date +%Y%m%d) cp open4neptune-new/user_settings_clean.cfg user_settings.cfg # Restart Klipper ``` ### Option B: Keep Current - Your current `optimized_user_settings.cfg` still works - Just more verbose with comments ## Testing After switching to clean version: ```gcode ; Test PRINT_START PRINT_START EXTRUDER_TEMP=200 BED_TEMP=60 ; Test PRINT_END PRINT_END ; Test helpers QUICK_TOUCH BABYZ_PLUS BABYZ_MINUS ``` ## Notes - **No functional changes** - only cleanup and renaming - **All features preserved** - Cartographer, KNCM, Calibration Suite - **Backwards compatible** - same macro names as stock Open4Neptune - **Easier to maintain** - less clutter, clearer structure --- **Created:** 2026-03-12 **Purpose:** Clean, production-ready user_settings.cfg **Size:** ~45% smaller than optimized version