Files
IfcOpenShell/src
Petru Conduraru 4a71ebdece ifcopenshell: fix geom.iterator memory growth on the OCC path #6904
On the pythonOCC path (use_python_opencascade=True) the iterator emits
SERIALIZED elements, deserialized per element by create_shape_from_serialization.
For OCC >= 7.8 this used the single-argument breptools.ReadFromString(brep_data)
overload, which pythonOCC documents as allocating and returning a new
TopoDS_Shape on every call ("increases memory"); the by-reference overload
ReadFromString(brep_data, shape) exists specifically to prevent that growth.
Use the by-reference overload, with a TypeError fallback for older bindings
that only expose the single-argument form.

Generated with the assistance of an AI coding tool.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 20:05:54 +03:00
..
2026-02-27 14:52:55 +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
2024-06-27 11:49:12 +10: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