Commit Graph

3199 Commits

Author SHA1 Message Date
Dion Moult f9d45222c8 Fix #3841. Bump IOS. 2024-04-16 10:55:56 +02:00
Andrej730 cc0ad74e50 bim.flip_object #3803
Added new operator bim.flip_object that flips the object by flipping two of its axes and keeps the original placement.

Currently it can be found either from F3 search or from Shift-F hotkey for IfcBeam and IfcColumn in BIM tools.
2024-04-16 10:55:56 +02:00
Andrej730 514af37e0e .reg file for #3778
Forgot to commit the .reg file...
2024-04-16 10:55:56 +02:00
Andrej730 90bade7bb8 Fixed typo 2024-04-16 10:55:56 +02:00
Dion Moult e0ae010c46 You can now select and bulk process multiple models using IfcFM in Blender. 2024-04-16 10:37:19 +02:00
Bruno Perdigão c5192774c3 fixed a bug where the refresh aggregate operator was not working after adding new objects to the parent aggregate 2024-04-16 10:37:19 +02:00
Ryan Schultz ce3469fd58 fix #3792 2024-04-16 10:37:19 +02:00
Andrej730 750b9201a9 Fixed error creating a door type / window types after 8f6be60c6 2024-04-16 10:37:19 +02:00
Andrej730 eef3cd80b6 Getting drawing group more precisely
Previously it was conflicting with other possible groups assigned to the object. It's now even more important since we're actively using groups to save search queries.

Example error caused by this issue - during drawing activation if you had 2 IfcGroups on the drawing element:
draiwng's IfcGroup RelatedObjects attribute was updated, then inverse attrtibute `drawing.HasAssignments` order was updated too (DRAWING IfcGroup now would be positioned second after IfcGroup for search query) and it was leading to errors during filtering current drawing annotations
2024-04-16 10:37:19 +02:00
Andrej730 2d07e4634b Small fix for 05d4dc566 2024-04-16 10:37:19 +02:00
Andrej730 20f3a6443f Rever IFC Project
https://i.imgur.com/ajQiK8D.png
2024-04-16 10:37:19 +02:00
Andrej730 e2a08b9947 Fixed #3829 occured after ae45e6b
similar_openings wasn't reset on each iteration causing moving unrelated openings
2024-04-16 10:37:19 +02:00
Andrej730 89d3ee995d Workaround for #3778 2024-04-16 10:37:19 +02:00
Andrej730 fc3b68ada4 bim.remove_opening not to force Model/Body/Model_view
Now it won't be forcing Model/Body/Model_view representation on the objects if some other context is active for the object.

Indirectly solves #3817
2024-04-16 10:37:19 +02:00
Dion Moult dfcafed648 Ship with fallback IFC2X3 georeferencing pset 2024-04-16 10:37:19 +02:00
Massimo Fabbro 06b5982b59 fix generate spaces from walls bug 2024-04-16 10:37:19 +02:00
Andrej730 4a507c0827 Print unused elements stats / purge unused elements
Added to Purge Data section in Quality Control some tools - https://i.imgur.com/Nz3YoiH.png

1) Print unused elements - useful to investigate how much unused data you have in IFC file.
https://i.imgur.com/9Fkn0JD.png

2) purge unused elements by ifc class, it's doing it in pretty naive way and can be dangerous, so maybe it should be moved to debug section.
2024-04-16 10:37:19 +02:00
Andrej730 dadb9aa8e8 info message for amount of purged elements 2024-04-16 10:37:19 +02:00
Andrej730 b0d3049ddd Minor fix after 22edbdd
Error was:

TypeError: EnumProperty(..., default='cobie'): not found in enum members
Exception in module register(): \3.6\scripts\addons\blenderbim\__init__.py
Traceback (most recent call last):
  File "\Blender\3.6\scripts\modules\addon_utils.py", line 369, in enable
    mod.register()
  File "\3.6\scripts\addons\blenderbim\__init__.py", line 42, in register
    blenderbim.bim.register()
  File "\3.6\scripts\addons\blenderbim\bim\__init__.py", line 190, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "BIMFMProperties" registration error: 'engine' EnumProperty could not register (see previous error)
2024-04-16 10:37:18 +02:00
Dion Moult 30495f2688 You can now interact with IfcFM via CLI 2024-04-16 10:37:18 +02:00
Dion Moult fd80055ef7 Fix #3788. Fix crash when opening drawing SVGs using webbrowser module which is not recommended and the file is on a Dropbox synced external drive. Now replaced with generic os.startfile / xdg-open / open commands. 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 88360a4d55 fix loading animation color scheme 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 09ed0a682c maintain tasks bar visual property state when tasks properties are reloaded 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 1cb0294fd6 hide spaces when creating an animation 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 7f3559437f fix warning statement when there are no saved animation color schemes 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 61831c7321 fix missing task types for animations color scheme 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 22539db737 fix tasks not displaying derived calendar 2024-04-16 10:37:18 +02:00
Andrej730 ac18bba661 system decorations - live time update
Decoration data is now updating in live time, caching some parts in Data for performance. Real time update is needed because Data doesn't allow update on objects positions change and later will need real time update for viewport orientation data.
2024-04-16 10:37:18 +02:00
Andrej730 ae483f7aca Add ports to MEP bends/transitions types instead of occurences 2024-04-16 10:37:18 +02:00
Andrej730 ca2b804337 system decorations to show flow direction 2024-04-16 10:37:18 +02:00
Andrej730 7de1738d30 settings flow direction without jumping to ports
https://imgur.com/a/F00tG7g
2024-04-16 10:37:18 +02:00
Ryan Schultz bf8ee909ff proposed fix for #3792 2024-04-16 10:37:18 +02:00
Andrej730 a970b40513 Descriptions for add_representation conversion methods 2024-04-16 10:37:18 +02:00
Andrej730 2ebd00eea2 draw calculate_all_quantities hotkey in bim tool ui
hotkey was already there, it just wasn't added to UI

https://i.imgur.com/nar5WYI.png
2024-04-16 10:37:18 +02:00
Andrej730 e6019e8519 recalculate fills on applying changes to ifc windows / ifc doors
previously if you'd move the window and then change it's parametric data and try to apply it, opening's position wouldn't be updated
2024-04-16 10:37:18 +02:00
Andrej730 7404357995 Moved common duplication operators code to DuplicateMove
Now OverrideDuplicateMoveLinked allways will be in sync with OverrideDuplicateMove.

Also fixed the issue when DuplicateMoveLinked for non ifc elements worked the same was DuplicateMove (it was copying mesh data when it's not suppose to).
2024-04-16 10:37:18 +02:00
Andrej730 9c13ae1993 replace Drawing.remove_object_data with more general method 2024-04-16 10:37:18 +02:00
Dion Moult 0b4532b7aa Purge IfcCOBie deps from build 2024-04-16 10:37:18 +02:00
Dion Moult 407f363648 Fix #3793. Bug where flipping a wall with generic connection relationships would fail. 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 5d6a823493 resources code cleanup 2024-04-16 10:37:18 +02:00
Sigma Dimensions (Yass) 2575348c9d change tests due to new class assignment workflow ref commit 808ff54 2024-04-16 10:37:18 +02:00
Bruno Perdigão d0177891e4 remove connections with old objects when duplicating aggregates 2024-04-16 10:37:17 +02:00
Dion Moult b752048baf We now support separating IFC meshes. 2024-04-16 10:37:17 +02:00
Dion Moult f6cd6d2591 Splitting by edge now resolved mapped representations, voided, and non-mesh geometries 2024-04-16 10:37:17 +02:00
Sigma Dimensions (Yass) 604373415f fix parametric duration/ resource update 2024-04-16 10:37:17 +02:00
Dion Moult 034d43502b Minor fix during loading arrays 2024-04-16 10:37:17 +02:00
Sigma Dimensions (Yass) 8649a1a23d fix location search filter 2024-04-16 10:37:17 +02:00
Sigma Dimensions (Yass) 609b7840b0 bring back filter operators into new Filter subpanel and change filter by storey to filter by container 2024-04-16 10:37:17 +02:00
Dion Moult 0fc478f2f3 New debug feature to override the display type. 2024-04-16 10:37:17 +02:00
Dion Moult 0e525dcbee Autodetect dense meshes to make it faster when loading so users don't need to go into advanced mode. 2024-04-16 10:37:17 +02:00