Files
IfcOpenShell/src
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-07-18 22:39:33 +05:00
2026-07-15 19:20:17 +05:00
2026-07-18 22:39:33 +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
2026-07-18 22:39:33 +05:00
2025-12-22 18:44:42 +05:00
2025-12-19 18:53:14 +05:00
2025-12-22 18:44:42 +05:00