Files
IfcOpenShell/src
Ryan Schultz 6c993ba919 Fix depth check to use camera direction instead of face normal
The same-plane check projected vertices onto the dominant face
normal (n_a) to determine if two elements span the same depth
range. This correctly rejected slabs stacked along their normal
axis but broke for elements whose largest face is perpendicular
to the camera (e.g. X-normal boxes in plan view) — projection
onto X produces zero overlap for legitimate side-by-side pairs.

Replace n_a projection with projection onto _cam_look. Elements
at the same camera depth produce overlapping ranges and are joined;
elements separated in camera depth produce disjoint ranges and are
correctly rejected regardless of the orientation of their faces.

Generated with the assistance of an AI coding tool.
2026-04-07 13:28:08 -05:00
..
2026-02-26 17:01:54 +05:00
2026-02-27 14:52:55 +05:00
2026-01-26 17:13:18 +05:00
2026-01-26 17:13:18 +05:00
2026-02-27 14:52:55 +05:00
2025-12-19 18:53:14 +05:00
2025-12-19 18:53:14 +05:00
2025-12-19 18:53:14 +05:00
2026-04-03 10:59:09 +02:00
2025-12-22 18:44:42 +05:00
2025-12-22 18:44:42 +05:00
2026-04-03 10:59:09 +02:00
2026-04-03 10:59:09 +02:00
2025-12-19 18:53:14 +05:00
2025-12-22 18:44:42 +05:00
2026-03-23 10:54:38 +01:00
2026-04-03 10:59:09 +02:00
2026-03-18 10:29:09 +05:30