Andrej730
f8ec8402fe
Remove test for deprecator operator ( c85eb79)
bonsai-0.8.2-alpha2502251329
2025-02-25 18:28:48 +05:00
Andrej730
aaf008f007
Fix adding transom to door #6230 ( d23cfcb)
2025-02-25 18:28:48 +05:00
Andrej730
f63d6b80c5
quantitifaction - not to add empty qto if nothing was quantified
...
It already works that way for ifcopenshell quantitification, making it work the same for Blender quantifications.
Noticed in #6220
2025-02-25 18:28:48 +05:00
Andrej730
2f6ae1745f
typing
2025-02-25 18:28:48 +05:00
Andrej730
5f4098e5d4
Update type_elements_filtered on changing ifc class
...
Needed after 1d815cdb67
2025-02-25 18:28:47 +05:00
Andrej730
b49cc6c5e9
AuthoringData.data["relating_type_data"]
...
Simplify lots of data keys to just one dictionary relating_type_data, so it will be easier to maintain it and update if needed.
2025-02-25 18:28:47 +05:00
Andrej730
dcc681ac74
Revert a428169 to avoid constant reload of cached data
...
The code was recalculating type_elements and relating_type_id every time Blender trying to check enum items.
Couldn't replicate issue when type duplicated, perhaps it's resolved some other way already.
2025-02-25 18:28:47 +05:00
Thomas Krijnen
240c78c12a
Update IfcHierarchyHelper.h
2025-02-25 14:18:10 +01:00
Andrej730
6de409031e
Fix #6222
...
Mentioned in #6223
bonsai-0.8.2-alpha2502250921
2025-02-25 14:21:01 +05:00
Bruno Perdigão
ea274588b0
See #6214 . Fix how extrusion existing angle is calculated.
...
The issue happen when the layer has a negative direction sense.
bonsai-0.8.2-alpha2502242347
2025-02-24 20:46:37 -03:00
Bruno Perdigão
e46e1512fa
Fix #6160 where axis snapping in polyline tool were not working consistently
2025-02-24 20:46:26 -03:00
Thomas Krijnen
70182d943d
Update build_osx.yml
2025-02-24 17:11:01 +01:00
Andrej730
0bd4451ce9
Fix issue not cleaning up the mesh after 76277c35d2
bonsai-0.8.2-alpha2502241432
2025-02-24 19:31:36 +05:00
Andrej730
899ada0019
Fix purge unused types test after 3bb4243
bonsai-0.8.2-alpha2502241356
bonsai-0.8.2-alpha2502241354
bonsai-0.8.2-alpha2502241353
2025-02-24 18:52:35 +05:00
Andrej730
f6ae711f6c
Fix feature tests failing due to AuthoringData changes
...
relating_type_id now relies on type_elements which relies on ifc_class_current and they wasn't updated when ifc_class was changed.
Typical failing test looked like "TypeError: bpy_struct: item.attr = val: expected a string enum, not int".
2025-02-24 18:52:35 +05:00
Andrej730
1d815cdb67
Fix issue reloading AuthoringData from workspace at every draw call
...
If data was already loaded for BIMTool ("all") this ` elif ifc_element_type == "all" and AuthoringData.data["ifc_element_type"] is not None:` would always fail and this `AuthoringData.data["ifc_element_type"] != ifc_element_type` would always result to True, constantly recalculating data on every draw call.
This may uncover some issues that were hidden by the constant update (e.g. the bug fixed in the next commit).
Simplified it so now ifc_element_type is almost always referring to either ifc class or None. It's still using "all" in the BIMTool itself but then it's converted to None when passed to draw methods.
2025-02-24 18:52:35 +05:00
Andrej730
ce6339869d
Fix some feature tests
2025-02-24 18:52:35 +05:00
Andrej730
5eb9cb2ee4
len(get_inverse) -> get_total_inverses
2025-02-24 18:52:35 +05:00
Andrej730
6eda4e389c
typing
2025-02-24 18:52:34 +05:00
Andrej730
0783f8082e
black .
2025-02-24 18:52:34 +05:00
Thomas Krijnen
3854afb34d
Update build-all.py; --force when fetch tags
2025-02-24 14:01:48 +01:00
Thomas Krijnen
0b2321f478
Add template keyword
2025-02-24 13:33:53 +01:00
Thomas Krijnen
5510fb1e3c
Add constexpr
2025-02-24 13:30:45 +01:00
Thomas Krijnen
7331f7361f
Workaround explicit in-class specialization to if constexpr #6206
2025-02-24 13:30:24 +01:00
Andrej730
e06684e274
Comment out outdated code #6200
bonsai-0.8.2-alpha2502241147
2025-02-24 16:46:32 +05:00
Andrej730
57d6e9b544
Fix error reassigning class for structural items
bonsai-0.8.2-alpha2502241032
2025-02-24 15:15:54 +05:00
Andrej730
5fa0aa03e4
util.schema.is_a - use c++ implementation
2025-02-24 15:15:54 +05:00
Andrej730
1d2ac9426d
Fix error during class reassignment after 43cc7a0
2025-02-24 15:15:54 +05:00
Andrej730
e79a85a4fd
bim.edit_container_attributes - remove deprecated operator
...
Currently you can edit container name directly from spatial manager, so this operator is no longer needed (and it also was missing from UI either way).
2025-02-24 15:15:54 +05:00
Andrej730
076a6c152d
fix typo
2025-02-24 15:15:54 +05:00
Andrej730
76277c35d2
Fix for 365393aa07
...
ahh, forgot that representation is already removed at this point
bonsai-0.8.2-alpha2502241001
2025-02-24 15:01:00 +05:00
Thomas Krijnen
a81b4a7dbb
Create build_all.yml
2025-02-24 10:30:49 +01:00
Andrej730
ee8a3927b4
Fix displaying some attr types names after e8cb9e7 #6216
bonsai-0.8.2-alpha2502240921
2025-02-24 14:20:49 +05:00
Andrej730
365393aa07
Fix #6209 after 67bac44
bonsai-0.8.2-alpha2502240902
2025-02-24 14:01:24 +05:00
Thomas Krijnen
9289e1d0cc
Try catch to keep the people happy #6176
2025-02-23 15:50:31 +01:00
Thomas Krijnen
c30b5cbc08
Add std::array typemap #6137 #6191 #6196
2025-02-23 15:22:36 +01:00
Thomas Krijnen
9736345d79
Test case #6173
2025-02-23 14:46:31 +01:00
Thomas Krijnen
5599e52184
Option to retain original edges in cgal for non-boolean non-face-with-voids inputs #6173
2025-02-23 14:46:10 +01:00
Thomas Krijnen
ce26af5a7e
Use ProfileType in mapping #6175
2025-02-23 11:01:17 +01:00
Dion Moult
973c9e2ec9
See #1227 . Implement axis updating for new wall join code.
bonsai-0.8.2-alpha2502230759
2025-02-23 18:59:17 +11:00
Dion Moult
29a890662e
See #6201 . Another typing regression fix.
bonsai-0.8.2-alpha2502230731
2025-02-23 18:30:58 +11:00
Dion Moult
b42c3ba8c2
See #1227 . Wall layer test script now supports atstart/atend combo test cases and materials.
bonsai-0.8.2-alpha2502230628
2025-02-23 17:28:14 +11:00
Dion Moult
a7509dbe29
See #1227 . Experimental support for 3D layerset slicing.
2025-02-23 17:27:32 +11:00
Dion Moult
23158b1b7e
Fix #6201 . Regression in creating drawings due to typing in 67bac441ad
bonsai-0.8.2-alpha2502230103
2025-02-23 12:02:50 +11:00
Richard Brice
8c16f394c1
Updates alignment api
...
Fixes mapping of vertical alignment parabola business logic to geometry. Adds creation function of h and v alignment. Adds stationing referent at start of alignment. Fixes utility functions
bonsai-0.8.2-alpha2502230028
2025-02-22 16:16:59 -08:00
Richard Brice
12f8a1f769
Adds utility to stringize station values
2025-02-22 16:15:00 -08:00
Richard Brice
7ffd2742d6
Fixes bug mapping geometry for IfcSectionedSolidHorizontal that was introduced in 26ba761
2025-02-22 16:11:10 -08:00
Richard Brice
6429fe34ed
Implements IfcHierarchyHelper.addRelatedObject for IfcRelDefinesByType
2025-02-22 16:11:06 -08:00
Jonas Frei
d38f56e82d
fix: bug in initialization of gltf serialiser fixed
2025-02-22 15:31:45 +01:00
Dion Moult
c549dea943
See #1227 . Test script for priority-aware wall layer joins.
bonsai-0.8.2-alpha2502220901
2025-02-22 20:01:17 +11:00