Andrej730
f0ca34d107
fix core project tests after 0dc084d and e3cb811
2024-08-01 18:01:58 +05:00
Andrej730
3834ecb06a
fix core root test after e3cb811
2024-08-01 18:01:58 +05:00
Andrej730
047c9e3ee9
fix core aggregate module test after 6eb3c48
2024-08-01 18:01:58 +05:00
Andrej730
d384aaeb9c
fix tests after a9a4b0c
2024-07-31 19:00:33 +05:00
Andrej730
de0374bdbd
fix error purging unused types in 75f8e75
2024-07-30 20:46:16 +05:00
Andrej730
52130a3eb6
fix materials / styles bim tests #4843
2024-07-29 18:53:12 +05:00
Dion Moult
1fef4c5857
Run black on BBIM
2024-07-26 12:19:21 +10:00
Andrej730
1cdd4c27fc
fix geometry core tests after fccf56d5f
2024-07-05 17:57:17 +05:00
Andrej730
7acea25fdf
fix material core tests after 58a7ef6
2024-07-05 17:57:17 +05:00
Andrej730
3f2703ca21
tool.Geometry method for adding a data to an empty object
2024-07-03 18:12:21 +05:00
Andrej730
d0ec4fe345
core tests - print unprocessed calls in pytest verbose mode
...
e.g. if you start test with pytest test_style.py -vv it will be easier to guess why it couldn't find a call
```
E Exception: <class 'abc.Ifc'> was not called with run:
E - {'type': 'SHOULD_BE_CALLED', 'number': None, 'call': {'name': 'run', 'args': ('style.add_surface_style',), 'kwargs': {'style': 'style', 'ifc_class': 'IfcSurfaceStyleShading', 'attributes': 'attributes'}}}
E Unprocessed calls:
E - {'name': 'run', 'args': ('style.add_style',), 'kwargs': {'name': 'name'}}
E - {'name': 'link', 'args': ('element', 'obj'), 'kwargs': {}}
E - {'name': 'run', 'args': ('style.add_surface_style',), 'kwargs': {'style': 'element', 'ifc_class': 'IfcSurfaceStyleShading', 'attributes': 'attributes'}}
```
2024-06-26 16:14:00 +05:00
Andrej730
665bf00f8b
fix core.style tests #4843
2024-06-26 16:14:00 +05:00
Andrej730
ef9bbd8de6
deprecate shading_checksum #4843
...
Changing diffuse color for Blender material now won't change the linked IFC style.
Since now all style parameters for styles are changed through styles UI and users shouldn't use Blender materials tab unless they want to do something advanced (though they are still currently can use it to assign material styles to the specific faces).
PS 1 less thing to sync 🥳
2024-06-25 18:30:52 +05:00
Andrej730
114fca8be5
unassociate bim.add_material from blender materials #4843
2024-06-14 19:14:20 +05:00
Andrej730
75f8e75a8e
ifc.unlink fixes after 3df75e9af
...
Also some changes related to #4843
add
2024-06-14 19:14:19 +05:00
Andrej730
2fbac57faf
remove bim.unlink_material #4843
2024-06-11 18:26:19 +05:00
Dion Moult
1b63d9e88f
Railing/roof/stair/window now use default collection. Continue removing old "active collection" code.
2024-06-10 16:13:00 +10:00
Dion Moult
94f54fd4cb
Generating a space now is based on the default collection
2024-06-10 15:36:55 +10:00
Dion Moult
e3cb811225
WARNING: Remove collection syncing. The outliner no longer is used to change spatial hierarchy.
...
This is a BREAKING change (on purpose). If you want to change containment / aggregation, use the UI panels, not drag and drop on the outliner.
2024-06-07 22:55:18 +10:00
Andrej730
df15a37127
fix core.root.assign_class error after 3884403 #4719
2024-05-24 15:22:55 +05:00
Andrej730
721466c429
typing
2024-04-25 18:05:47 +05:00
Andrej730
e14d96e6ee
Use .Name instead of .Description if IFC2X3 for sheets #4576
...
As Description was added only in IFC4
2024-04-24 18:17:37 +05:00
Andrej730
f1f8b3da6b
spatial.dereference_structure - support batching #4474
2024-04-16 15:17:48 +05:00
Andrej730
8ac0d22a95
spatial.reference_structure - support batching #4474
2024-04-16 15:17:48 +05:00
Andrej730
5da68721d6
document.unassign_document - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
097f44284f
document.assign_document - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
1f605484d9
library.unassign_reference - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
81dcad6a14
library.assign_reference - support batching #4474
2024-04-15 17:24:31 +05:00
Andrej730
e66ac3d7db
system.unassign_system - support batching #4474
2024-04-11 17:50:31 +05:00
Andrej730
6b48e8b4b9
system.assign_system - support batching #4474
2024-04-11 17:50:31 +05:00
Andrej730
df4943205a
type.assign_type - support batching #4474
2024-04-10 18:58:44 +05:00
Andrej730
06b84cfa24
nest.unassign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
97db95085a
nest.assign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
d03f9237e2
deprecate spatial.remove_container in favor of spatial.assign_container
...
added temporary support for old version with warnings:
WARNING. `spatial.remove_container` api method is deprecated and should be replaced with spatial.unassign_container
WARNING. `product` argument is deprecated for API method "spatial.remove_container" and should be replaced with `products`.
2024-04-09 16:09:04 +05:00
Andrej730
f14bf8557a
aggregate.unassign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
cd11d2de27
aggregate.assign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Andrej730
845e229a9c
group.unassign_group - support batching #4474
2024-04-05 17:31:13 +05:00
Andrej730
109787d869
spatial.assign_container - support batching #4474
2024-04-05 17:28:30 +05:00
Dion Moult
1b35ea122e
Implement support for managing nest hosts and components.
2023-12-07 13:19:29 +11:00
Andrej730
5cf1dd4249
fixed core tests after switch_representation changes
2023-10-23 17:25:07 +05:00
Dion Moult
0d0b91ee9b
You can now specify a name when adding materials
2023-10-21 15:23:55 +11:00
Andrej730
0d43ef0736
option to set active system
...
Now it's possible to set in UI active system (currently it's done "select" button next to the system).
Also changed the elements that are going to be decorated with system decorator. Previously it was decorating all the mep elements in the projects which was very performance heavy on large projects.
2023-10-20 15:59:24 +05:00
Andrej730
162ac39570
Fixed test after 6e9639446
2023-10-19 11:03:27 +05:00
Dion Moult
88d96f7d57
You can now easily create orthographic and perspective model drawings from a preset
2023-10-06 10:44:51 +11:00
Dion Moult
3c02da416e
Georeference module now supports IFC2X3 georeferencing / conversion utilities.
2023-10-05 16:15:28 +11:00
Dion Moult
31dcbc0159
Splitting by edge now resolved mapped representations, voided, and non-mesh geometries
2023-09-24 15:45:22 +10:00
rileywong311
1344cbc192
Update core/test_brick.py
2023-08-24 16:38:54 -07:00
Dion Moult
8f25a31f19
Fix more failing tests.
2023-08-24 23:03:43 +10:00
Dion Moult
8e5dc01758
New projects now load with a Views and Types collection with appropriate visibility settings.
2023-07-24 18:01:25 +10:00
Dion Moult
2034fa203b
Fix #3275 . You can now rename types from the type manager.
2023-07-14 23:58:33 +10:00