Commit Graph

3226 Commits

Author SHA1 Message Date
Ryan Schultz a6ef2d6152 Adding "Manually Save Representation" and bim.get_representation_ifc_parameters back to Representation Utilities panel
from: https://github.com/IfcOpenShell/IfcOpenShell/commit/3a812a9ec156818061c01bd5b2ac2c2bee09faf1#r123820129
2024-04-16 10:55:57 +02:00
Andrej730 8de37b7df4 Minor fix #3862 2024-04-16 10:55:57 +02:00
Ryan Schultz 865c037474 fixed error when creating new walltype in IFC2x3 2024-04-16 10:55:57 +02:00
Massimo Fabbro 698ccceda2 Minor spatial refactor 2024-04-16 10:55:57 +02:00
Massimo Fabbro bbfd42cf19 Refactor create_space operator and better UI for covering tool 2024-04-16 10:55:57 +02:00
Massimo Fabbro fee390c7ed refactor create spaces from walls 2024-04-16 10:55:57 +02:00
Massimo Fabbro e10b5f6f44 Add predefined type to AuthoringData 2024-04-16 10:55:57 +02:00
Bruno Postle 1c12f2cbf8 BlenderBIM make fca90e9 optional
setup_viewport_camera() does a 'zoom extents' on IFC import.
Create a should_setup_viewport_camera option (default True)
2024-04-16 10:55:57 +02:00
Andrej730 531d3b56ed fixed issue with placing end port for a bend 2024-04-16 10:55:57 +02:00
Andrej730 a101d7e9a0 system decorations - indicate both directions flow 2024-04-16 10:55:57 +02:00
Dion Moult 6ab6567905 Fix #3843. Regression where IfcMaterialList UI didn't show list of materials. 2024-04-16 10:55:57 +02:00
Andrej730 9f1afdd905 Minor fix after b9a9abd30 2024-04-16 10:55:57 +02:00
Andrej730 f08cbec747 revert flow directions icons to arrows 2024-04-16 10:55:57 +02:00
Andrej730 5922d08322 Minor fix after 78c748df5
RuntimeError: Error: Registering panel class: parent 'BIM_PT_tab_placement' for 'BIM_PT_placement' not found
2024-04-16 10:55:57 +02:00
Andrej730 9a88c4235d Fixed adding opening to meshes of all occurences for non material based representations
Mentioned in #3817
2024-04-16 10:55:57 +02:00
Andrej730 ca4d4e026c Moving some code to tool.Geometry 2024-04-16 10:55:57 +02:00
Dion Moult be928347c5 You can now select coloured objects in a colourscheme. 2024-04-16 10:55:57 +02:00
Dion Moult f574a3f65b New placement panel to consolidate placement data in geometry tab 2024-04-16 10:55:57 +02:00
Dion Moult 205c6a9263 New drawing width / height / depth / raster DPI controls 2024-04-16 10:55:57 +02:00
Dion Moult 22ba8ce496 You can now easily create orthographic and perspective model drawings from a preset 2024-04-16 10:55:57 +02:00
Dion Moult 3b53246f80 Active drawing panel moved from camera properties to drawing tab. 2024-04-16 10:55:56 +02:00
Andrej730 739b793cd7 test for model.get_manual_booleans() #3709
added test that model.get_manual_booleans will ignore IfcBooleanClippings until we find some other solution to distinguish automatic and manual clippings. And some refactor along the way.
2024-04-16 10:55:56 +02:00
Andrej730 edfe0ec580 DumbWallJoiner to work with IfcBooleanResult correctly #3831
It wasn't detecting extrusion as part of IfcBooleanResult and was using default wall data as fallback.

Occured after 0044ef5
Solves #3831
Related to #3709
2024-04-16 10:55:56 +02:00
Dion Moult 0e17cd7130 Fix #3845. Select similar for predefined type now takes into account inheritance. 2024-04-16 10:55:56 +02:00
Andrej730 39169c4dd8 Fixed issue applying array with Sync Children #3822 2024-04-16 10:55:56 +02:00
Dion Moult 74ca102f6a Georeference module now supports IFC2X3 georeferencing / conversion utilities. 2024-04-16 10:55:56 +02:00
c4rlosdias 31bdc96130 Fix problem in getpsets(facet.py) and added descriptions to specifications (IfcTester) 2024-04-16 10:55:56 +02:00
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