bonsai-impl-modeling
Installation
SKILL.md
Bonsai Implementation: BIM Modeling
Version: Bonsai v0.8.x | Blender 4.2.0+ | Python 3.11 Module path:
bonsai.bim.module.model— NEVERblenderbim.*Data layer: All IFC operations useifcopenshell.api.run()
1. Critical Warnings
- ALWAYS use
bonsai.*— NEVERblenderbim.*. The rename occurred in 2024 (v0.8.0). - ALWAYS check
IfcStore.get_file()forNonebefore any IFC operation. - ALWAYS verify representation context exists before creating geometry.
- ALWAYS use
spatial.assign_containerfor placing elements in storeys — NEVERaggregate.assign_object. - ALWAYS use
feature.add_featurefor openings — NEVERvoid.add_opening(does not exist in v0.8.0+). - ALWAYS pass lists to
related_objects/productsparameters — NEVER single entities. - ALWAYS call
bpy.ops.bim.edit_object_placement()after moving Blender objects to sync IFC placement. - NEVER treat Bonsai as an importer/exporter — IFC IS the native document.