Files
cad-building-showcase/scripts/detect_sheet_frames.py
zhengwr bccc9f41d6 detect_sheet_frames: axis ticks vote like grid lines; expanded axis window
Two vote-killers found on 13号地块 towers: axis geometry sits OUTSIDE the
wall-tight clip (stubs beyond the facade), and min_grid_len = pitch*0.25
discarded 0.8m axis-number ticks outright. Axis candidates are now
collected in a pitch*0.16-expanded window, and strictly axis-parallel
stubs (pitch*0.004..0.05) count alongside full-span lines — same-position
ticks cluster into one vote. Synthetic tick fixture goes WEAK -> full votes.

Honest finding logged: the 13号 tower frames genuinely contain NO axis
geometry (all 249 ticks belong to other frames), so votes=0 is the correct
verdict there — modeling proceeds via clip-corner fallback plus mandatory
per-floor overlay verification; wall-position correlation noted as the
future alignment source when axes are absent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 21:42:03 +08:00

20 KiB