Commit Graph

9543 Commits

Author SHA1 Message Date
Dion Moult 4fb01f2fe6 Minor alignment of Basic FM preset to IFC property naming 2024-04-16 11:05:26 +02:00
Dion Moult b3a2c7c4b7 You can now override custom category element functions in IfcFM 2024-04-16 11:05:26 +02:00
Dion Moult 257b3ce1d9 Minor bug fix to COBie 2.4 space descriptions 2024-04-16 11:05:26 +02:00
Dion Moult 9985ffb413 Purge data recipe now also purges shape aspect names and layers. 2024-04-16 11:05:26 +02:00
Andrej730 0cc337fa88 fixed issue adding bend between segments located at the same point
also added some tests
2024-04-16 11:05:26 +02:00
Andrej730 036a670910 Fixed issue with UI for types withotu PredefinedType after 1621449
Noticed the issue adding IfcFurnitureType in IFC2x3

```
Traceback (most recent call last):
  File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\workspace.py", line 71, in draw_settings
    BimToolUI.draw(context, layout, ifc_element_type="all")
  File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\workspace.py", line 230, in draw
    AuthoringData.load(ifc_element_type)
  File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\data.py", line 56, in load
    cls.data["predefined_type"] = cls.predefined_type()
  File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\data.py", line 258, in predefined_type
    predefined_type = relating_type.PredefinedType
  File "\Blender\4.0\scripts\addons\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 191, in __getattr__
    raise AttributeError(
AttributeError: entity instance of type 'IFC2X3.IfcFurnitureType' has no attribute 'PredefinedType'
```
2024-04-16 11:05:26 +02:00
Andrej730 e1246e257a New context override method for setting viewport tools #3876 2024-04-16 11:05:26 +02:00
Andrej730 4f76df8cb1 DumpSlabPlaner.change_thickness to use si units #4004
It was providing project units to `geometry.add_slab_representation` resulting and then they were converted to project units once again during `geometry.add_slab_representation`.
2024-04-16 11:05:26 +02:00
Andrej730 3d5b9f5e90 black format 2024-04-16 11:05:26 +02:00
Andrej730 db7dc86cd1 Merge two Services sections in Services and Systems tab #4001
Two similar sections were needed in the old ui before we added tabs
2024-04-16 11:05:26 +02:00
Ryan Schultz 65859a8f83 closes #4006: automatically update the geometry of all the objects that have 'similar openings'. 2024-04-16 11:05:26 +02:00
Ryan Schultz 8eef2392da fixes #3908: Close the opening (bim.edit_openings) while having the opening selected 2024-04-16 11:05:26 +02:00
VDobranov 8dfd122430 Update reference_structure.py
A mistype in docs: should be IfcRelReferencedInSpatialStructure instead of IfcRelContainedInSpatialStructure
2024-04-16 11:05:26 +02:00
Massimo Fabbro 6e6402e07f Covering Tool now it is possible to add ceiling coverings from selected walls 2024-04-16 11:05:26 +02:00
Andrej730 6140e67702 show mep regenerate and connecte elements for non-profile based elements 2024-04-16 11:05:26 +02:00
Andrej730 944f8695c7 root.remove_product to remove IfcRelFlowControlElements 2024-04-16 11:05:25 +02:00
Andrej730 6cf1f8f49f fixed issues with ports ui on undo
data.py doesn't update on every undo, so passed blender objects got invalidated on undo resulting in errors. changed blender objects to blender object names
2024-04-16 11:05:25 +02:00
Andrej730 fd69d91776 UI for assigning controls to flow elements #3981
Example - https://imgur.com/a/CZQIoHp
2024-04-16 11:05:25 +02:00
Andrej730 72b3f1e967 api for assigning/unassigning flow controls #3981 2024-04-16 11:05:25 +02:00
Andrej730 1bb5a14b65 Fixed typo in control.assign_control, added tests 2024-04-16 11:05:25 +02:00
Andrej730 61e5533598 tool.System.add_ports tests 2024-04-16 11:05:25 +02:00
Andrej730 4264b19fd8 fixed issue placing ports on a bend if start segment is bending using Z- 2024-04-16 11:05:25 +02:00
Andrej730 c2c2c4815f fixed issue in add_ports mutating object's matrix
inherently modifying ports positions in some cases
2024-04-16 11:05:25 +02:00
Dirk Olbrich b069770643 bbim docs: add user interface subsection, general workspace 2024-04-16 11:05:25 +02:00
Dirk Olbrich 9d9140252e bbimdocs: reorder images folder in users section 2024-04-16 11:05:25 +02:00
Dirk Olbrich ee6e273b1d bbim docs: reorder images folder in dev section 2024-04-16 11:05:25 +02:00
Dirk Olbrich 6e00dcd05e bbim docs: use absolute path for icon images 2024-04-16 11:05:25 +02:00
Dirk Olbrich fb55077a86 bbim doc: fix list indentation 2024-04-16 11:05:25 +02:00
Dirk Olbrich e602c3b68b bbim docs: fix minor warning in ux-guidelines 2024-04-16 11:05:25 +02:00
Dirk Olbrich ce43bd7bfe bbim docs: update bbim version, copyright year 2024-04-16 11:05:25 +02:00
Andrej730 21c7751c14 remove BIMGroupProperties.is_adding attribute to avoid confusion
The problem with that attribute was that object's and project's group ui section were both using groups loaded to BIMGroupProperties.groups.

So you could run into situation when you try to load object's groups ui and it would show empty list because user never loaded the groups from the project's ui...

So it was either caching groups twice or just using same `is_editing` flag to check whether groups were previously loaded and I went with the single flag.
2024-04-16 11:05:25 +02:00
Andrej730 29e6601a4b define inherited ports attributes in bim.add_constr_type_instance 2024-04-16 11:05:25 +02:00
Andrej730 0355aa9eef fixed issue finding finding compatible fitting
it occured sometimes when segment's or fitting's PredefinedType/System were not defined
2024-04-16 11:05:25 +02:00
Andrej730 89a5519631 fixed bug with system decoration data if no system were selected 2024-04-16 11:05:25 +02:00
Andrej730 29dda335ea test stairs calculated params 2024-04-16 11:05:25 +02:00
Andrej730 168095b1c1 Nosing Lengths / Tread Gap for parametric stairs #3422
Example - https://imgur.com/d8PxLV4
2024-04-16 11:05:25 +02:00
Ryan Schultz 66f57f90df Select multiple arrays at one time, from various parts. Deselect non-compliant objects. 2024-04-16 11:05:25 +02:00
Igor.Sokolov 4404470d91 bf: IfcBSplineCurve is an isntance of abstract entity 2024-04-16 11:05:24 +02:00
Igor.Sokolov fe4dc87cd1 bf: pass-valid-selected-enumeration.ifc 2024-04-16 11:05:24 +02:00
Igor.Sokolov 0f774a675d bf: pass-group-1-rels-IFC2X3.ifc failed 2024-04-16 11:05:24 +02:00
Igor.Sokolov 27458cc079 bf: pass-attr-count-ok.ifc failed 2024-04-16 11:05:24 +02:00
Dion Moult 87a98afb64 Black 2024-04-16 11:05:24 +02:00
Dion Moult 26d6fdb1bc Docs now mention historic builds 2024-04-16 11:05:24 +02:00
Dion Moult 142968559d Minor fix 2024-04-16 11:05:24 +02:00
Andrej730 12a6bf88a9 Customize tread width for the first and last treads #3419
Available on all types of stairs, shouldn't break stairs previously created with BBIM.
Example - https://imgur.com/a/2wSueTM
2024-04-16 11:05:24 +02:00
Andrej730 3317dbd4a1 minor refactor 2024-04-16 11:05:24 +02:00
Andrej730 ba1a84e51b add force depsgraph update method 2024-04-16 11:05:24 +02:00
Andrej730 2697703bb1 skip black format on type manager template description for readibility 2024-04-16 11:05:24 +02:00
Andrej730 617c8b9fd5 stair profile generation code refactor
hopefully it's now a bit more readable
2024-04-16 11:05:24 +02:00
Andrej730 3ec513c56a Fixed stair calculated params not updating during edit (after 8b23c615c)
.data doesn't update on props change, so need to take data from props explicitly when BIMStairProperties.is_editing
2024-04-16 11:05:24 +02:00