bonsai-impl-bcf
Installation
SKILL.md
BCF Workflows in Bonsai
Version: Bonsai v0.8.x | Blender 4.2.0+ | Python 3.11 Module path:
bonsai.bim.module.bcf— NEVERblenderbim.bim.module.bcfBCF versions: v2.1 and v3.0 (viabcf.bcfxmllibrary bundled with IfcOpenShell) Dependencies: bonsai-core-architecture, bonsai-syntax-elements
Critical Warnings
- ALWAYS set
scene.BCFProperties.authorto a valid email BEFORE creating topics or comments. Default"john@doe.com"is a placeholder — replace it. - ALWAYS use
BcfStore.get_bcfxml()to access BCF data. NEVER accessBcfStore.bcfxmldirectly —get_bcfxml()handles lazy initialization and path resolution. - ALWAYS call
bpy.ops.bim.save_bcf_project()to persist changes. BCF modifications are in-memory only until saved. - NEVER mix BCF v2.1 and v3.0 operations on the same project. The version is set at creation/load time and MUST remain consistent.
- ALWAYS ensure an active camera exists before calling
bpy.ops.bim.add_bcf_viewpoint(). The operator polls for an active scene camera. - NEVER assume viewpoint coordinates match the loaded IFC model coordinates. Viewpoint activation applies georeference offset corrections.
- ALWAYS use
bonsai.*imports. NEVER useblenderbim.*— renamed in 2024 (v0.8.0+). - BCF v3.0 REQUIRES non-empty
statusandtypefields on topics. These are optional in v2.1 but mandatory in v3.0.
Related skills
More from openaec-foundation/blender-bonsai-ifcopenshell-sverchok-claude-skill-package
blender-syntax-materials
>
3blender-core-gpu
>
3blender-agents-code-validator
>
3blender-syntax-panels
>
3blender-errors-data
>
3blender-syntax-data
Covers Blender data management including collections, library overrides, asset system, linked libraries, BlendDataLibraries, data block creation and removal, fake users, and data transfer between files. Activates when managing Blender collections, linking/appending data, working with library overrides, or using the asset system.
3