bonsai-impl-project
Installation
SKILL.md
Bonsai Project Management
Version: Bonsai v0.8.x | IfcOpenShell v0.8.x | IFC2X3 / IFC4 / IFC4X3 Dependency: bonsai-core-architecture (MUST read first) Module path:
bonsai.*— NEVERblenderbim.*
Critical Warnings
- ALWAYS use
ifcopenshell.api.project.create_file()to create new IFC projects. NEVER useifcopenshell.file()directly — it skips required project setup (IfcProject, IfcUnitAssignment, representation contexts). - ALWAYS set units via
ifcopenshell.api.unit.assign_unit()immediately after project creation. An IFC file without a unit assignment is invalid per all IFC schemas. - NEVER describe the Bonsai workflow as "import/export". The IFC file IS the native document.
- ALWAYS use
bonsai.*imports. NEVER useblenderbim.*— renamed in 2024 (v0.8.0+). - ALWAYS check
IfcStore.get_file()forNonebefore any IFC operation. - ALWAYS call
ifcopenshell.api.georeference.add_georeferencing()beforeedit_georeferencing(). Editing non-existent entities raises an error. - NEVER set Eastings/Northings without confirmed survey data. Wrong values place the building at the wrong location on Earth.
- ALWAYS run scripts via
blender --python. NEVER importbonsai.*from system Python.