Thomas Krijnen
164125fe70
Add noexcept to hash functor
2023-10-18 09:47:30 +02:00
Thomas Krijnen
fd3ef6508b
In-code changes for ADD2
2023-10-18 09:47:29 +02:00
Thomas Krijnen
1eb8ef08d2
Rerun C++ codegen
2023-10-18 09:47:28 +02:00
Thomas Krijnen
6302be6bfd
Merge v0.7.0 -- src\ifcopenshell-python\ifcopenshell\express
2023-10-18 09:47:27 +02:00
Andrej730
ab807e3b9b
bim.create_all_shapes info message
2023-10-18 12:21:41 +05:00
Andrej730
c35be50c83
Bump build version to fix #3889
blenderbim-231018
2023-10-18 11:10:04 +05:00
Bruno Perdigão
37ab9c80e3
Duplication now recreates connections path #3770
2023-10-17 18:45:14 -03:00
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
3f018a4195
localize mathutils dependency in tests #3895
...
replaced shapebuilder with general ifcopenshell code in `test_add_boolean` (the only place besides `test_shape_builder` where it was used), that way mathutils dependency in tests is localized only to `test_shape_builder.py`.
added test-safe option to makefile, so github workflow would ignore `test_shape_builder` tests for now and it wouldn't interrupt the entire workflow
2023-10-17 15:53:26 +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
Dion Moult
8f43854cbf
Minor fix
2023-10-17 20:47:39 +11:00
Thomas Krijnen
787149da13
Regen express rule code: lowercase str comparison in express rule generated code
2023-10-17 11:04:46 +02:00
Thomas Krijnen
3b31f6932a
Compile IFC4X3_ADD2 express rules
2023-10-17 09:50:39 +02:00
Richard Brice
d52f12973a
Mapping of vertical profiles with IfcGradientCurve
2023-10-17 09:20:50 +02:00
Richard Brice
3eb85cc36a
Fixes mapping of horizontal curve with IfcCircle
2023-10-17 09:20:50 +02:00
Richard Brice
e794911926
Fixes problems with horizontal curves and clothoid spirals
2023-10-17 09:20:50 +02:00
Andrej730
6c9e130ca8
small fix f38952dc5 #3898 😬
blenderbim-231017
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
Thomas Krijnen
51f72b4edc
Update nef_to_halfspace_tree.h
2023-10-16 21:28:38 +02: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
ce8598a0b4
Fixed issue after 19345ff
...
It wasn't considering that EnumerationReference could be None
2023-10-16 15:31:53 +05:00
Thomas Krijnen
fb9cf75412
#3889 Apply handling of openings on IfcFeatureElementSubtraction generically
2023-10-16 11:02:40 +02: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
Andrej730
aa182bf047
small fix add_profile_representation - use of undefined variables
2023-10-16 11:59:33 +05:00
Ryan Schultz
6e9639446d
Add a preference for particular app to open sheet layout
blenderbim-231016
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.
blenderbim-231015
2023-10-15 22:23:10 +11:00
Dion Moult
58be92d3fc
New verbose option in util get_pset(s) which lets you get ID and class for complex processing.
2023-10-15 08:57:37 +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
blenderbim-231014
2023-10-14 21:54:16 +01:00
Thomas Krijnen
661c8bc50f
Small changes to curve segment handling for purpose of wrapper
2023-10-14 16:37:50 +02:00
Thomas Krijnen
438ed22f8f
Merge pull request #3888 from isma3lMB/v0.7.0
...
Adding support for non ascii characters when reporting
2023-10-14 16:00:18 +02:00
isma3lMB
a9dfc9a9fd
Adding support for non ascii characters when reporting
2023-10-14 15:31:33 +02:00
Thomas Krijnen
f8b09b3525
Update build-deps.cmd: proj compilation
2023-10-13 22:34:35 +02: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
1f6d23c19c
Minor fixes to placement utilities for getting mapped item matrixes
2023-10-13 23:40:23 +11:00
Thomas Krijnen
94db9ec522
Add IFC4X3_ADD2 schema
2023-10-13 11:51:05 +02:00
Dion Moult
a47c57c22c
First draft of style manager panel
blenderbim-231013
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
Thomas Krijnen
909978c941
Merge pull request #3826 from RickBrice/v0.8.0
...
Some minor tweaks and implements suggestions
2023-10-12 20:59:31 +02:00
Dion Moult
dd70b09fb1
Representation items panel now shows styles and layers
2023-10-12 22:56:36 +11:00