Commit Graph

9308 Commits

Author SHA1 Message Date
Andrej730 425a31ffa1 Clear constraint and transform lock on duplicating array child object
Previously it was locked even though it's not part of an array anymore.
2024-04-16 10:37:17 +02:00
A. R. S 2691e8a082 Try to get unit from EnumerationReference for IfcPropertyEnumeratedValue 2024-04-16 10:37:17 +02:00
Dion Moult c5ec9a66f3 Refactor IfcFM to make it easier to exclude things 2024-04-16 10:37:17 +02:00
Dion Moult b92c2b2dbc Finally purge IfcCOBie to be superseded by IfcFM 2024-04-16 10:37:17 +02:00
Andrej730 1f20330772 removing arrays if all array elements are selected #3781
I think there is still some space to improve but it should cover the main problem with need going to array section to remove it
Demo - https://imgur.com/a/9Z3t5Q8
2024-04-16 10:37:17 +02:00
Andrej730 c1553247c1 Fixed error editing pset with prop with empty prop.NominalValue
Traceback:
```
Error: Python: Traceback (most recent call last):
  File "\blenderbim\bim\module\pset\operator.py", line 103, in execute
    self.load_from_pset_data(pset)
  File "\blenderbim\bim\module\pset\operator.py", line 226, in load_from_pset_data
    value = prop.NominalValue.wrappedValue
AttributeError: 'NoneType' object has no attribute 'wrappedValue'
```
2024-04-16 10:37:17 +02:00
Massimo Fabbro d3a37bf0eb Add model test about manual booleans 2024-04-16 10:37:17 +02:00
Massimo Fabbro 1154d60921 Added calculating quantities function for Qto_DuctSegmentBaseQuantities and Qto_DuctFittingBaseQuantities 2024-04-16 10:37:17 +02:00
Ryan Schultz 54e8421d3d small fix for 9e67565 2024-04-16 10:37:17 +02:00
Vukas Pajic 37ed67da56 typo 2024-04-16 10:37:17 +02:00
Vukas Pajic aabeba54f9 Update ids validation
see https://github.com/IfcOpenShell/IfcOpenShell/issues/2933
2024-04-16 10:37:17 +02:00
Sigma Dimensions (Yass) 5ca6de023a small fix when calculating resource work 2024-04-16 10:37:17 +02:00
Dion Moult 672a2c4483 Autogenerate API docs for more modules. 2024-04-16 10:37:17 +02:00
Dion Moult 2587e29750 Forgot to commit BCF docs 2024-04-16 10:37:17 +02:00
Dion Moult 9736d08064 Migrate more documentation to the official Sphinx docs and mention IfcOpenShell-WASM as an installation option 2024-04-16 10:37:17 +02:00
Ryan Schultz 33b5672344 Refresh aggregate from selecting a part 2024-04-16 10:37:17 +02:00
Andrej730 590c3f0384 mep system decorators - basic implementation
All it does currently it draws all MEP elements connections in viewport. It also highlights with green color all elements connected to the active object

Demo - https://imgur.com/a/haAQeWt
2024-04-16 10:37:17 +02:00
Andrej730 1ae1e4c4f9 fixed error in api.system.disconnect_port
Error was:
TypeError: can only concatenate tuple (not "list") to tuple
2024-04-16 10:37:17 +02:00
Andrej730 9e7d04f337 get_viewport_context to also return space 2024-04-16 10:37:17 +02:00
Andrej730 9f1bfe2868 bim.draw_system_arrows updated for ifc4 2024-04-16 10:37:17 +02:00
Sigma Dimensions (Yass) 0c72ee9b0f improve pset editing workflow and use refactored core and tool functions 2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) f79e6ada9b cascade schedule when adding a sequence relationship 2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) a96e7d97ac fix count_working_days when the start and finish are the same same hours 2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) 8549debdc9 fix calculating critical path to consider:
- parent tasks with sequence assignments #3772
- tasks that are constrained by a schedule start
2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) 46c775c585 fix cascading schedule when parent tasks have sequence relationships #3772 2024-04-16 10:37:16 +02:00
Bruno Perdigão 79c0779449 fix rotation from refresh aggregate operator 2024-04-16 10:37:16 +02:00
Dion Moult 39ee129724 Datatype checks in IfcTester are now case insensitive 2024-04-16 10:37:16 +02:00
Andrej730 ebd02f20db Exposed some MEP operators in BIM Tool UI
https://i.imgur.com/U61QqlQ.png
2024-04-16 10:37:16 +02:00
Andrej730 0c57f8ea39 bim.mep_connect_elements to connect elements by the closest ports
Previously it was looking for exact match. Now operator also adjusts connected ports
2024-04-16 10:37:16 +02:00
Andrej730 f516c59784 override_outliner_delete poll error fix 2024-04-16 10:37:16 +02:00
Andrej730 39e622b559 info message for refresh_aggregate 2024-04-16 10:37:16 +02:00
Dion Moult dd0e997935 You can now add bSDD properties when assigning bSDD classifications 2024-04-16 10:37:16 +02:00
Vukas Pajic 3e760e9406 Fix case when ids_dict has key but value is None 2024-04-16 10:37:16 +02:00
Dion Moult 855ee4c48e Minor fix 2024-04-16 10:37:16 +02:00
Dion Moult af9ce9d8fd Fix crash where IFCTester read directly from IFC in the UI 2024-04-16 10:37:16 +02:00
Dion Moult a7f33d8172 Basic integration of bSDD with BlenderBIM Add-on: you can now assign classification references from the bSDD and set the active bSDD domain. 2024-04-16 10:37:16 +02:00
Dion Moult 28ddd2aefc Implement classification searching in bSDD library 2024-04-16 10:37:16 +02:00
Andrej730 10e19d16bd select array parent / all array objects to work without parent guid argument
now it's getting parent guid from the currently active object, not from provided guid argument - so now it's possible to add those operators to quick favorites
2024-04-16 10:37:16 +02:00
Ryan Schultz d4274e0e20 Have bim.select_aggregate make the aggregate empty the active object, as well. 2024-04-16 10:37:16 +02:00
Dion Moult 7e10d520f4 IfcTester now includes percentages per requirement 2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) 145f601a2e purge cost schedules 2024-04-16 10:37:16 +02:00
Dion Moult a251816de0 Accommodate potential manual deletion of EPset drawing. 2024-04-16 10:37:16 +02:00
Dion Moult f1d2bd0eac Fix #3752. Accommodate situations where layouts don't match IFC. 2024-04-16 10:37:16 +02:00
Andrej730 cfebf2549b Associate IFC files with BlenderBIM on Windows
Buttons located in addon preferences - https://i.imgur.com/Unp4P9L.png

Just waiting for this to break somehow...

It's not completely automatic now and it doesn't create assign special icon for IFC files yet.
2024-04-16 10:37:16 +02:00
Andrej730 34a881da3a Remove orphaned IfcPropertyEnumeration
Noticed a couple hundreds of orphaned IfcPropertyEnumeration in my .ifc like below 😁

IFCPROPERTYENUMERATION('Status',(IFCLABEL('NEW'),IFCLABEL('EXISTING'),IFCLABEL('DEMOLISH'),IFCLABEL('TEMPORARY'),IFCLABEL('OTHER'),IFCLABEL('NOTKNOWN'),IFCLABEL('UNSET')),$);
2024-04-16 10:37:16 +02:00
Andrej730 ecf3da1d86 fixed bug creating transition shapes
it was accidentally assigning extrusion vector instead of an offset
2024-04-16 10:37:16 +02:00
Andrej730 624d1fdc3a Clean up orphaned meshes
- delete_ifc_project
- bim.add_constr_type_instance
- adding transitions and bends
- add profile / slab / wall
2024-04-16 10:37:16 +02:00
Andrej730 654f84ffb7 Save last active context editing doors/windows, solves #3735
previously - https://imgur.com/a/gri6zMk
now - https://imgur.com/a/GIwZP6c
2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) 788f2d2044 MSP calendar exceptions are now also imported #3766 2024-04-16 10:37:16 +02:00
Sigma Dimensions (Yass) d7887de3e5 fix msp .xml import: exception days for a standard working week #3766 2024-04-16 10:37:16 +02:00