What problem does it solve?
It prevents slow and failure-prone IFC geometry workflows by guiding you to extract or author 3D geometry using IfcOpenShell correctly, including batching, coordinate transforms, and required representation contexts.
Core Features & Use Cases
- Fast geometry extraction: Use
create_shape() for single elements and the ifcopenshell.geom.iterator() for large batches to avoid performance traps.
- Correct tessellation vs BRep: Switch between triangulated mesh output and OpenCASCADE BRep output using
USE_BREP_DATA, with guidance for CAD/boolean precision needs.
- Reliable representation authoring: Create required contexts (root “Model” then “Body”), assign representations to products, and set object placements to ensure geometry appears in the right place.
- Coordinate correctness: Choose world vs local coordinates via
USE_WORLD_COORDS, apply placement chains consistently, and respect IFC project units by applying unit scale factors.
Use Case Examples:
- Extract thousands of IFC wall meshes for visualization while keeping placements and units correct.
- Build parametric wall/beam/furniture geometry into a new IFC file with valid contexts and object placements.
- Convert extracted geometry into export-ready forms (including glTF/OBJ pipelines) while preserving transforms.
Quick Start
Generate and process geometry for many IFC elements efficiently and safely by running the skill on your IFC model so it uses an iterator, applies unit scaling, and outputs extracted tessellated meshes.