BlenderBIM Add-on/Using the Python console with BlenderBIM Add-on

From Wiki.OSArch
< BlenderBIM Add-on
Revision as of 22:52, 22 June 2020 by 1.42.32.145 (talk) (Created page with "The BlenderBIM Add-on comes with my useful Python libraries to interrogate BIM data, in addition to the math and geometry libraries that Blender comes with. A short list of th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The BlenderBIM Add-on comes with my useful Python libraries to interrogate BIM data, in addition to the math and geometry libraries that Blender comes with. A short list of these additional libraries is provided:

  • **IfcOpenShell** - used for querying, writing, and manipulating IFC data and files
  • **bcfplugin** - used for querying, writing, and manipulating BCF data and files
  • **fcl** - used for writing custom logic for clash detection
  • **OCC** - used or directly accessing the OpenCascade geometry kernel for low-level geometric analysis
  • **svgwrite** - used for writing SVG for construction documentation
  • **ifcdiff** - used for comparing IFC files for changes
  • **ifccsv** - used for exporting and importing BIM data with CSV
  • **ifcclash** - a frontend of FCL, allowing you to trigger clash sets for collision detection

You can launch an interactive Python shell letting you query BIM data in real-time. To do so:

1. Install the BlenderBIM Add-on and ensure it is enabled 2. Switch to the Blender Python Console mode. 3. There is no step 3. You can type in import ifcopenshell and it'll work! Have fun!

Alternatively, you can write a full script from a text file and run it.