mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
Add scene documentation
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
Scene Properties
|
||||
================
|
||||
|
||||
The scene properties panels allow you to manage data that applies to your entire
|
||||
IFC project as a whole, or to multiple elements.
|
||||
|
||||
Building Information Modeling Panel
|
||||
-----------------------------------
|
||||
|
||||
System Setup
|
||||
^^^^^^^^^^^^
|
||||
|
||||
* **Quick Project Setup** - this will create a basic spatial tree. It will
|
||||
create a tree of collections with the structure ``IfcProject > IfcSite >
|
||||
IfcBuilding > IfcStorey`` This is merely for convenience instead of having to
|
||||
create it all by yourself, since all IFC exports require a valid spatial
|
||||
tree. You can see the tree of collections in the outliner when this is done.
|
||||
* **Schema Directory** - this folder stores the current IFC schema. You can
|
||||
download different schemas from the buildingSMART website. Unless you are an
|
||||
IFC guru, you probably shouldn't touch this. BlenderBIM recognises different
|
||||
IFC data based on what is provided in this schema folder. It defaults to the
|
||||
``{{BLENDER_ADDONS_DIR}}/blenderbim/schema/`` folder, which is prepackaged
|
||||
with the IFC4 schema. This is known as the ``{SCHEMA_DIR}``.
|
||||
* **Data Directory** - the data directory holds the auxiliary data related to
|
||||
your IFC model. Examples include related property definitions, documents, and
|
||||
classification systems. Each project should have its own data directory. It
|
||||
defaults to the data directory in the
|
||||
``{{BLENDER_ADDONS_DIR}}/blenderbim/data/`` folder, which comes with some
|
||||
example preset data. You are encouraged to copy this template and set your
|
||||
own. This is known as the ``{DATA_DIR}``.
|
||||
|
||||
Software Identity
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
* **Global ID** - this field let's you enter an IFC element's ``GlobalId``. It
|
||||
must be in the 22-character encoded form.
|
||||
* **Select Global ID** - this will select an element that has the same
|
||||
``GlobalId`` attribute as what you have specified, based on what is currently
|
||||
visible in the scene.
|
||||
|
||||
IFC Categorisation
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* **IFC Class** - this dropdown lets you pick from a list of all non-abstract
|
||||
children of ``IfcElement`` and ``IfcSpatialStructureElement``
|
||||
* **IFC Predefined Type** - this dropdown lets you pick from an enumeration of
|
||||
valid ``PredefinedType`` values for the currently selected *IFC Class*. It
|
||||
changes dynamically with the currently selected *IFC Class*.
|
||||
* **IFC Userdefined Type** - this field lets you enter a value for a user
|
||||
defined type. It is stored as the ``ObjectType`` attribute of an
|
||||
``IfcProduct``. It is only set when the **IFC Predefined Type** is set to
|
||||
``USERDEFINED``, otherwise it is ignored. It is recommended to make this
|
||||
value uppercase and alphabetic, to match the conventions for the
|
||||
``PredefinedType`` enumeration.
|
||||
* **Assign Class** - this applies the active *IFC Class*, *IFC Predefined Type*
|
||||
and *IFC Userdefined Type* to any selected objects.
|
||||
* **Select Class** - this will select any objects that are currently visible
|
||||
that also have the same IFC class as the currently active *IFC Class*
|
||||
dropdown.
|
||||
* **Select Type** - same as *Select Class*, but it also filters by the
|
||||
currently active *IFC Predefined Type* dropdown, as well as the *IFC
|
||||
Userdefined Type* field.
|
||||
|
||||
Property Sets
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
- **Pset Name** - this lets you select from a list of available property set
|
||||
types. The list is derived from the folders in
|
||||
``{DATA_DIR}/pset``. Each folder name corresponds to a property set name. If
|
||||
you want to assign properties to an object based on an IFC standard pset,
|
||||
just create a new folder with the same name as the pset. You can also create
|
||||
your own custom property sets, so long as the folder name does not start with
|
||||
``Pset_``, as these are reserved for official IFC property sets.
|
||||
- **Pset File** - this lets you select from a list of available property set
|
||||
data. The available property sets depends on the currently selected *PSet
|
||||
Name* dropdown. Each property set is represented by a ``.csv`` file inside
|
||||
``{DATA_DIR}/pset/{PSET_NAME}/``. You can create your own ``.csv`` files
|
||||
with any software, where each line contains a property name and property
|
||||
value pair. Data types are automatically converted based on the property set
|
||||
templates defined in ``{SCHEMA_DIR}``. If the pset is part of an official IFC
|
||||
standard, you can only use property names that are part of the IFC standard.
|
||||
If you want to add your own custom properties, you will need to create your
|
||||
own *PSet Name* folder first, and then you can put in your own ``.csv`` file
|
||||
which contains any property names and values that you want.
|
||||
- **Assign Pset** - this assigns the currently selected *Pset file* to any
|
||||
selected objects. The assigned data will then be visible in the *Object
|
||||
Properties*. This only assigns a link to the ``.csv`` containing the data, so
|
||||
you can change the data in the ``.csv`` file and that will automatically
|
||||
propagate to all assigned elements when an IFC is exported, without needing
|
||||
to reassign the data.
|
||||
- **Unassign Pset** - this removes the link to the property set ``.csv``
|
||||
file for all currently selected objects.
|
||||
Reference in New Issue
Block a user