What problem does it solve?
This Skill prevents common, production-breaking IFC geometry mistakes when creating or editing IFC representations in Bonsai, especially cases where geometry appears missing or invalid due to incorrect context, representation assignment, or placement syncing.
Core Features & Use Cases
- IFC geometry representation syntax for Bonsai workflows, including
IfcExtrudedAreaSolid and IfcShapeRepresentation creation patterns.
- Representation context guardrails to ensure Body/Axis/FootPrint subcontexts are created and used correctly so geometry is discoverable by IFC viewers.
- Correct assignment and placement syncing guidance, including using
geometry.assign_representation and syncing Blender transforms back to IfcLocalPlacement via bpy.ops.bim.edit_object_placement() or the equivalent API call.
- Boolean and mesh-to-IFC patterns including clipping/boolean operations and correct
add_mesh_representation list-of-lists data structures.
- Opening/feature relationships guidance using
feature.add_feature() (Bonsai v0.8+) rather than legacy void APIs.
Quick Start
Create the required Body geometry context, build the geometry representation using the correct Bonsai/IfcOpenShell APIs, then assign it to your target element with geometry.assign_representation while syncing placement with bpy.ops.bim.edit_object_placement() after moving the Blender object.