mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
e864a961ee
Area mode now drops a label at every connected coplanar patch — a BFS sweep over selected_ restricted to each mesh's edge adjacency identifies the components, then each component gets one label at its area-weighted centroid in world space. Two clicks on different walls now show two distinct numbers; a single BFS-grown wall face stays one number across all its triangles. The 2-pt length perpendicular line is now omitted when |perp| matches any of ΔX/ΔY/ΔZ within 1mm — the surface-aligned-with- axis case where the perpendicular is already shown by one of the RGB legs. Avoids redundant double-readout on axis-aligned walls. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>