Files
IfcOpenShell/src/ifcgeom
Petru Conduraru e333c1c100 ifcgeom: build the swept-area directrix from the offset curve far from origin (#4848)
IfcSurfaceCurveSweptAreaSolid regressed in 0.8 for geometry far from the
origin (for example parapets on a georeferenced building), which went
missing or glitched.

The kernel offsets the directrix toward the origin when it is far away
(mean.norm() > 1e2), storing the offset copy in a local curve variable and
setting applied_temporary_offset so the finished solid is translated back by
+mean. But the wire was still built from scs->curve, the un-offset original,
so the offset never took effect and the result was translated by +mean from
its correct location. Build the wire from curve instead. When no offset is
applied curve aliases scs->curve, so near-origin geometry is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 22:04:02 +02:00
..
2026-06-29 11:30:36 +02:00
2026-06-11 21:09:56 +02:00
2024-06-27 11:49:12 +10:00
2026-01-26 17:10:03 +05:00
2025-10-03 18:12:56 +02:00
2025-09-26 14:24:49 +02:00
2026-06-11 21:09:56 +02:00
2024-08-23 20:29:07 +02:00
2025-09-26 14:24:49 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2025-08-27 11:03:16 +02:00