Commit Graph

8245 Commits

Author SHA1 Message Date
Gorgious56 9ec43b7d9e Revert unselect non-ifc object using TAB 2024-04-15 10:59:03 +02:00
Gorgious56 4def4c2445 Fix wall mounted handrail railing modifier not regenerating properly when going out of edit mode with the tab key if the path wasn't modified 2024-04-15 10:59:03 +02:00
Dion Moult 7437f0d20c Fix #3226. There is now a faster deletion mode that kicks in for large models and large geometry deletions. 2024-04-15 10:59:03 +02:00
Dion Moult 13b80af97e See #3226. New batched remove_deep2() which uses serialisation for faster removal performance on large graphs. 2024-04-15 10:59:03 +02:00
Andrej730 c94adb7980 Fixed #3259 2024-04-15 10:59:03 +02:00
Bruno Postle 641962f0e0 BlenderBIM use git shortlog to summarise merge log 2024-04-15 10:59:03 +02:00
Gorgious56 9180fdce5a Edit profile based representations with TAB (#3142)
* You can now edit profile based representations with TAB

* Minor fix

* Minor fix

* You can now edit parametric railing paths with TAB
Still not sure about the implementation though

* use shortcut instead of direct link to railing edition

* Add utility to check if a mesh is profile based or its representation is a swept solid

* Fix bug when trying to edit an empty object

* Prevent editing door, window and stair modifiers since they're fully parameterized by the modifier properties

* You can now edit roof modifier, railing modifier and various profile based objects

* You can now edit axis profile based objects
2024-04-15 10:59:03 +02:00
Andrej730 940d999bf4 Solved #3219 2024-04-15 10:59:03 +02:00
Andrej730 ad4f00648f Blender curves to IfcIndexedPolyCurve #3233
Now blender curves segments saved in IfcIndexedPolyCurves instead of creating individual polygons.
Also changed ShapeBuilder.polyline - now it will try to store points in IfcLineIndex where it's possible (previously it was storing just 2).
2024-04-15 10:59:03 +02:00
Andrej730 2db82371bd Display units for more pset/qset props #3235
Now current project units displayed for area and volume properties too.
https://i.imgur.com/7dgl1pC.png
Also added support for imperial units symbols.
2024-04-15 10:59:03 +02:00
Andrej730 0874320935 small note for unsupported pset prop types 2024-04-15 10:59:03 +02:00
Andrej730 6665dd7e92 Add to scene properties whether we use relative path to .ifc #3251
Previously it was stored as operator's prop which is (turned out) reseted on reopening .blend.
2024-04-15 10:59:03 +02:00
Andrej730 4d171c17a8 Small fix for 1f43ec870
Was getting this error at project start:

Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 332, in execute
    return IfcStore.execute_ifc_operator(self, context)
  File "\scripts\addons\blenderbim\bim\ifc.py", line 410, in execute_ifc_operator
    result = getattr(operator, "_execute")(context)
  File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 345, in _execute
    self.import_type_from_ifc(element, context)
  File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 374, in import_type_from_ifc
    collection_obj = collection.BIMCollectionProperties.obj
AttributeError: 'LayerCollection' object has no attribute 'BIMCollectionProperties'
2024-04-15 10:59:03 +02:00
Andrej730 47ed33cba0 small fix for syntax warning after 4865b62ea
SyntaxWarning: "is not" with a literal. Did you mean "!="?
2024-04-15 10:59:03 +02:00
Andrej730 8933478137 Spatial/Structural Tools icons 2024-04-15 10:59:03 +02:00
Andrej730 2ab4213e01 Moving operators to Spatial Tool
Changes:
- Moved Shift A "Add boundary" from BIM Tool to Spatial Tool
- Moved Alt B "Show boundaries" from BIM Tool to Spatial Tool
2024-04-15 10:59:03 +02:00
Massimo Fabbro e7509ccc3f Fix create spaces from walls z-value (#3248)
Co-authored-by: Dion Moult <dion@thinkmoult.com>
2024-04-15 10:59:03 +02:00
Massimo Fabbro 98ba75ef52 New toggle space visibility button 2024-04-15 10:59:03 +02:00
Dion Moult bc76c8497e You can now get decompositions non-recursively in element utilities 2024-04-15 10:59:03 +02:00
Dion Moult b5c4b87238 Fix #3069. (Again) review all occurrences of users_collection and collection.name 2024-04-15 10:59:03 +02:00
Trashman247 e4ec8c40f0 Keep dist-info in compiling brickschema and add persistence extras 2024-04-15 10:59:03 +02:00
Bruno Postle c995d70ae1 Include commit summary of merged branches (#3096)
Git merges usually transfer the commit history, but when we resolve a
conflict with a 'mergetool' (ie. ifcmerge), this history is lost,
everything is squashed into a single commit. Now a summary of the
merged changes is appended to the merge message.
2024-04-15 10:59:03 +02:00
Bruno Postle b2568fd343 Display multi-line commit and tag messages (#3096) 2024-04-15 10:59:03 +02:00
Sigma Dimensions cf6be5dd18 Add a banner to ifcopenshell README 2024-04-15 10:59:03 +02:00
Bruno Postle 2738aa571a Operator to delete a Git tag (#3096) 2024-04-15 10:59:03 +02:00
Bruno Postle 3bdf1a170a Operator to view selected object Git history #3096
A new BlenderBIM > Git History side-panel to show the raw Git log
for the step entity of the selected object
2024-04-15 10:59:03 +02:00
Sigma Dimensions f8f1ba0ae8 Prototype Building Storey Manager #3246 2024-04-15 10:59:02 +02:00
Sigma Dimensions 607172c51d fix draw_project_not_saved_ui for BIM documentation 2024-04-15 10:59:02 +02:00
Andrej730 58ea6d7de9 same generate_pset_templates.py for ifcopenshell and ifc dev repos
same script will be easier to maintain
2024-04-15 10:59:02 +02:00
Andrej730 98cc0336ec Fixed validation errors in pset templates library
- missing project and IfcRelDeclares guids
- missing RelatingContext in IfcRelDeclares
2024-04-15 10:59:02 +02:00
Andrej730 ce8379b8f7 Fixed missing PrimaryMeasureType for P_LISTVALUE in pset templates #3236
For some reason there is also was missing PrimaryUnit in IFC2X3. But it's unrelated to the changes from this commit (generating pset templates before this commit already has PrimaryUnit there).
2024-04-15 10:59:02 +02:00
Sigma Dimensions 157d7d3c02 You can now review and assign currencies from the Cost Schedule Panel 2024-04-15 10:59:02 +02:00
Sigma Dimensions 1d13edd747 Display currency on cost item values and total cost 2024-04-15 10:59:02 +02:00
Andrej730 f4344b9e75 Placeholders for spatial and structural tools 2024-04-15 10:59:02 +02:00
Andrej730 a57f9e984b Tests for external svg references 2024-04-15 10:59:02 +02:00
Trashman247 7a2c6c4b5f Update Makefile 2024-04-15 10:59:02 +02:00
Sigma Dimensions 9c707977a3 auto refresh tasks assigned to products when filtering by active schedule 2024-04-15 10:59:02 +02:00
Sigma Dimensions 362409cdcb fix removing cost item value 2024-04-15 10:59:02 +02:00
Sigma Dimensions 6e3acd8c4a BBIM 5D: Various Cost Schedule UI Improvemements 2024-04-15 10:59:02 +02:00
Thomas Krijnen 8d5911e8aa fix syntax error on gcc 2024-04-15 10:59:00 +02:00
Thomas Krijnen 5f7b07ab4c typename :( 2024-04-15 10:57:46 +02:00
Thomas Krijnen b33f5e19b7 eliminate_narrow_operands() #3141 2024-04-15 10:55:29 +02:00
Thomas Krijnen 5566be0b20 Fix IfcFile::getInverse<T>() 2024-04-15 10:38:02 +02:00
Andrej730 c930eb7603 References for adding external svgs to the sheets
It works exactly the same as schedules - you add some .svg file, path to it stored in ifc and you can attach it to the sheet.

UI - https://i.imgur.com/tGbCGBb.png

Still need to add some tests for references
2024-04-15 10:34:50 +02:00
Sigma Dimensions 87673b0784 Use util.element.get_predefined_type() #065bda6 2024-04-15 10:34:50 +02:00
Sigma Dimensions 2a791eef52 Run costing tests and rename changed methods 2024-04-15 10:34:41 +02:00
Dion Moult 5f4fef42ac See #3069. Continued refactoring to not rely on users_collection[0]. 2024-04-15 10:34:41 +02:00
Dion Moult 6e57cbcf81 See #3069. More cleanup moving away from collection names and assumed single collections. 2024-04-15 10:34:41 +02:00
Dion Moult 4f15ec1f67 Fix regressions after making aggregate based on selected objects. 2024-04-15 10:34:41 +02:00
Dion Moult 804dbee2c3 Fix #3069. WARNING: dangerous change. Objects that have their own collection now have a pointer to that collection. This fixes a variety of subtle sync bugs. 2024-04-15 10:34:41 +02:00