Andrej730
7ff98d2918
Some UI to mark booleans as manual #3709
...
Currently it allows only to either set all object's booleans to be marked as manual or all of them marked as automatic, can't change some specific boolean.
Short demo - https://imgur.com/a/bczv35N
2023-10-17 18:19:45 +05:00
Andrej730
35d66f5d8c
move to tools methods for working with manual booleans #3709
...
Also fixed a bug adding boolean when pset is already added and representation type in add_boolean
```
File "\addons\blenderbim\tool\ifc.py", line 201, in execute
IfcStore.execute_ifc_operator(self, context)
File "\addons\blenderbim\bim\ifc.py", line 336, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
File "\addons\blenderbim\bim\module\model\opening.py", line 534, in _execute
data = json.loads(pset["Data"])
File "\addons\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 248, in __getitem__
if key < 0 or key >= len(self):
TypeError: '<' not supported between instances of 'str' and 'int'
```
2023-10-17 18:13:54 +05:00
Andrej730
578e15adb2
refresh_aggregate to show time it took
...
since this can get very time consuming on large projects
2023-10-17 15:07:43 +05:00
Andrej730
c4474455e9
Fix poll error after 3de9915
...
The error was
Traceback (most recent call last):
File "\blenderbim\bim\module\model\covering.py", line 64, in poll
return element.is_a("IfcCovering")
AttributeError: 'NoneType' object has no attribute 'is_a'
2023-10-17 15:07:43 +05:00
Andrej730
6c9e130ca8
small fix f38952dc5 #3898 😬
2023-10-17 10:47:52 +05:00
Bruno Perdigão
86a234d17e
Changed operator name
2023-10-16 22:32:09 -03:00
Bruno Perdigão
f68baee5c3
small deletions
2023-10-16 22:17:22 -03:00
Bruno Perdigão
0028fd3e9c
ifc_duplicate_operator now remove the connections with old objects. Similar solutions presented in PR #3789
2023-10-16 15:39:38 -03:00
Bruno Perdigão
f5f9862b78
Fix #2187 . ifc_duplicate_operator now recreates the IfcElementAssembly structure into a new Assembly
2023-10-16 15:31:56 -03:00
Andrej730
f38952dc51
small refactor
2023-10-16 16:23:48 +05:00
Andrej730
24eb149221
Support other voiding IfcFeatureElementSubtraction elements #3889
...
Support other voiding IfcFeatureElementSubtraction besides IfcOpeningElement.
2023-10-16 15:31:53 +05:00
Andrej730
68f5df73b9
black formatting
2023-10-16 12:21:20 +05:00
Andrej730
e068c523ec
Keep placement axes recalculating profiles #3879
2023-10-16 12:19:18 +05:00
Ryan Schultz
6e9639446d
Add a preference for particular app to open sheet layout
2023-10-15 20:04:53 -05:00
Bruno Postle
c48c1c3b32
BlenderBIM minor fix after 7107a91
2023-10-15 21:15:32 +01:00
Dion Moult
14224ac538
Fix #3870 . Bug where element filtering wasn't initialised properly when loading a camera for the first time.
...
Raster_x/y would only be set after the handler triggers. This is no longer necessary with the new explicit width / height properties.
2023-10-15 22:23:10 +11:00
Bruno Postle
7107a91f6f
BlenderBIM keep camera position on git switch
...
New 'zoom extents' behaviour on IFC load is unwanted when switching
between git revisions
2023-10-14 21:54:16 +01:00
Massimo Fabbro
f1ab02b311
Fix bug in covering/space tool with matrix global and local
2023-10-13 22:03:43 +02:00
Bruno Perdigão
4e833e26ca
wip: DuplicateMoveAggregate now calls DuplicateMove function and removes code duplication
2023-10-13 14:41:21 -03:00
Dion Moult
25df2f6414
See #3884 . Rewrite native geometry handling with a much more robust approach fixing a number of invalid coordinates and simplifying things.
2023-10-13 23:40:23 +11:00
Dion Moult
42719d3fe3
Fix bug where native meshes had normal smoothing enabled by default
2023-10-13 23:40:23 +11:00
Dion Moult
a47c57c22c
First draft of style manager panel
2023-10-13 17:38:55 +11:00
Dion Moult
8f4bc0ea00
Material manager panel now moved to geometry tab
2023-10-13 17:37:24 +11:00
Dion Moult
dd70b09fb1
Representation items panel now shows styles and layers
2023-10-12 22:56:36 +11:00
Dion Moult
c930050da6
Accommodate bug in Revit where mapped representations were missing... well, a representation map.
2023-10-12 22:56:36 +11:00
Dion Moult
55a7a72e61
Minor bug fixes with error message when selecting objects in layers without objects
2023-10-12 22:56:36 +11:00
Massimo Fabbro
55e61b55d8
better UI for covering tool
2023-10-12 05:58:52 +02:00
Massimo Fabbro
a99529cb1e
fix generate space and covering where objects weren't created in the right location
2023-10-12 05:58:52 +02:00
Dion Moult
bf43efe509
Begin drafting out a new representation items panel for managing styles and layers properly
2023-10-11 23:26:48 +11:00
Massimo Fabbro
3de9915389
Add generate flooring from cursor and regen ( #3874 )
2023-10-11 09:15:36 +11:00
Dion Moult
418444a196
Fix #3873 . Regression due to new importing logic.
2023-10-11 09:12:00 +11:00
Dion Moult
171251b27d
See #1619 . Fix issue where copying non-templated properties didn't work.
2023-10-11 08:53:53 +11:00
Ryan Schultz
9fef920a6f
Further clarify the bim.link_ifc command
2023-10-10 13:43:56 -05:00
Dion Moult
5bff837a61
Minor fix
2023-10-10 22:21:32 +11:00
Dion Moult
05f6f4efab
Manual booleans are now tracked via a Pset instead of arbitrary class conventions which should fix a bunch of issues.
2023-10-10 17:33:00 +11:00
Dion Moult
49b733f660
See #3817 . WARNING: fundamental change. Standardise prioritisation of all context permutations when loading occurrences and types.
2023-10-09 23:21:09 +11:00
Dion Moult
36ed618adf
You can now federate FM spreadsheets using the Blender UI
2023-10-09 17:26:45 +11:00
Dion Moult
48042011e2
Merge pull request #3860 from IfcOpenShell/Representation_Utilities_more_functions
...
Adding "Manually Save Representation" and bim.get_representation_ifc_…
2023-10-09 09:58:58 +11:00
Andrej730
0e1939a871
Minor fix #3862
2023-10-08 21:32:34 +05:00
Ryan Schultz
bea1e61739
Adding "Manually Save Representation" and bim.get_representation_ifc_parameters back to Representation Utilities panel
...
from: https://github.com/IfcOpenShell/IfcOpenShell/commit/3a812a9ec156818061c01bd5b2ac2c2bee09faf1#r123820129
2023-10-08 09:24:18 -05:00
Ryan Schultz
72cd82f450
fixed error when creating new walltype in IFC2x3
2023-10-07 10:25:22 -05:00
Massimo Fabbro
befa059591
Merge pull request #3838 from maxfb87/covering_tool
...
Covering tool (see #3754 )
2023-10-07 14:20:27 +02:00
Bruno Postle
7229f7271c
BlenderBIM make fca90e9 optional
...
setup_viewport_camera() does a 'zoom extents' on IFC import.
Create a should_setup_viewport_camera option (default True)
2023-10-06 22:34:43 +01:00
Andrej730
9c5970e757
fixed issue with placing end port for a bend
2023-10-06 17:30:01 +05:00
Andrej730
2fe3f0a9df
system decorations - indicate both directions flow
2023-10-06 17:30:01 +05:00
Dion Moult
3929f02e94
Fix #3843 . Regression where IfcMaterialList UI didn't show list of materials.
2023-10-06 22:43:56 +11:00
Andrej730
1abf80c310
Minor fix after b9a9abd30
2023-10-06 16:03:40 +05:00
Andrej730
2c18c89807
revert flow directions icons to arrows
2023-10-06 16:01:46 +05:00
Andrej730
1b81fa5aa1
Minor fix after 78c748df5
...
RuntimeError: Error: Registering panel class: parent 'BIM_PT_tab_placement' for 'BIM_PT_placement' not found
2023-10-06 15:31:41 +05:00
Andrej730
b9a9abd30d
Fixed adding opening to meshes of all occurences for non material based representations
...
Mentioned in #3817
2023-10-06 15:11:14 +05:00