chore: prune boilerplate and refresh stale docs

- Remove 257 redundant per-definition comment stubs across the package
- Drop dead nonlocal declarations in autoslicer_detection.py
- Document the swapped flag and swap_left_right in architecture docs
- Remove unsupported 'legacy override' claims from autotune/runtime docs
This commit is contained in:
dan 2026-09-11 23:07:30 +02:00
parent 929c828438
commit 426a18f342
24 changed files with 5 additions and 264 deletions

View file

@ -95,10 +95,11 @@ Key properties:
## Geometry Model
`PhotoSlice` stores 4-point quadrilateral and flags:
`PhotoSlice` stores a 4-point quadrilateral and flags:
- `locked`
- `side_handles_enabled`
- `swapped` (persistent left/right mirror state, honored by normalization)
It supports:
@ -106,6 +107,7 @@ It supports:
- rectangle detection (`is_perfect_rectangle`)
- squarize while preserving tilt
- reset to axis-aligned orientation
- explicit left/right swap (`swap_left_right`)
## Persistence Model

View file

@ -113,8 +113,6 @@ Override:
- `SCANSLICER_FEEDBACK_PATH`
Legacy override names are still accepted for backward compatibility.
Maximum retained entries:
- `500` (latest entries kept)

View file

@ -67,8 +67,6 @@ On startup failure, ScanSlicer prints backend-specific hints to stderr.
- container: `/work/.scanslicer/status.log`
- override: `SCANSLICER_STATUS_LOG_PATH`
Legacy override names are still accepted for backward compatibility.
Status log behavior:
- new app launch truncates and starts a fresh session log