Files
IfcOpenShell/src/ifcgeom
Petru Conduraru bf5548f8f6 ifcgeom: keep unopened geometry when opening subtraction throws a non-std::exception (#6391)
OCCT's Standard_Failure hierarchy does not derive from std::exception, so any
raw OCCT exception escaping convert_openings() lands in the generic catch (...)
handler rather than catch (const std::exception&). That handler logged the
error but never set caught_error, so the safety check right after (which
exists precisely to keep the product's unopened geometry when opening
processing fails) was bypassed and the incomplete/empty opened_shapes
silently replaced the product's solid geometry. The element ends up with zero
faces and disappears entirely from the viewport, matching "walls disappear
when a project is opened" (recalculating the wall regenerates a clean
representation that doesn't hit the same exception, which is why that
"fixes" it for the reporter).

Generated with the assistance of an AI coding tool.
2026-07-20 15:06:07 +03:00
..
2026-06-29 11:30:36 +02:00
2026-06-11 21:09:56 +02: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