mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
eea2398e07
Two upstream commits on this branch landed without updating all their callers, leaving `import ifcopenshell.geom` unusable:89c66f62b"Python import fixes: import from wrapper now which inherits from mixins" moved the `file` class out of ifcopenshell/file.py into ifcopenshell_wrapper, but missed geom/main.py and stream.py which still did `from ..file import file`.b022ca7e7"Some plug-in work" dropped the SWIG exports for `serialise`, `tesselate`, `XmlSerializer` (and other serializers) with a `// @todo bring back serialization` marker, but left geom/main.py referencing them at module-load time. Fix the `file` imports to come from ifcopenshell_wrapper, and guard the removed-serializer references behind `hasattr`, matching the pattern already in use for the other optional serializers (gltf, hdf5, collada, json, ttl). Revert once upstream fixes this.
ifcopenshell-python
Python bindings, utility functions, and high-level API for IfcOpenShell.