Thomas Krijnen
ccafc203b5
submodule
2025-05-20 10:05:21 +02:00
Andrej730
0efc2d25f1
Fix for assign_class and object with modifiers in Blender <4.4 #6701
2025-05-20 12:24:35 +05:00
Andrej730
ac50f002f0
Fix confused blender and pset props in 9586869
2025-05-19 19:28:55 +05:00
Andrej730
66f4c957ea
black .
2025-05-19 19:28:55 +05:00
Dion Moult
67016d6f90
See #2999 . Reimplement basic creation of structural items.
2025-05-19 17:36:12 +10:00
Thomas Krijnen
439f9c14ce
OcctNoCleanTriangulation CacheShapes PermissiveShapeReuse setting; Cgal conditional copy during triangulation; occt cheaper check for triangulation existance #6712
2025-05-18 22:14:22 +02:00
Dion Moult
404bf13a18
Update colour by property test to reflect new behaviour of only showing geometry not empties
...
ALL (feature) TESTS PASS YESS
2025-05-18 19:23:34 +10:00
Dion Moult
3a37bcdcaa
Update test cases to reflect new drawing activation UI
2025-05-18 19:09:29 +10:00
Dion Moult
992ad8e24a
See #4699 . Continue refactoring logic from drawing decorator into DecoratorData.
2025-05-18 15:32:55 +10:00
Dion Moult
1de2515fcd
More bSDD tests to cover all current functionality
2025-05-18 12:05:33 +10:00
Thomas Krijnen
4bc88eac2f
ifdefs around geometry handling for 4.3 rc schemas #6710
2025-05-17 16:01:28 +02:00
Dion Moult
22f10e5549
Fix #6669 . bSDD now supports test dictionaries, refactor domain to dictionary, support zero length keyword searches, multi-dict support, and basic tests.
...
Feature tests can now have more sophisticated per UIList item spies.
2025-05-17 21:28:12 +10:00
Andrej730
8e34c1d7df
Fix error using bim.updating_representation for object with material set
...
Possibly occurred after 4c255cc , but haven't investigated deeper.
@BIMvoice
The error you were reporting about Split Along Edge operator was caused by this issue, should be fixed now too.
See https://jmp.sh/hgJEHsgH
Example error traceback:
```
Error: Python: Traceback (most recent call last):
File "C\bonsai\bim\ifc.py", line 487, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C\bonsai\bim\module\geometry\operator.py", line 541, in _execute
self.update_obj_mesh_representation(context, obj)
File "C\bonsai\bim\module\geometry\operator.py", line 666, in update_obj_mesh_representation
tool.Ifc.link(new_representation, data)
File "C\bonsai\tool\ifc.py", line 230, in link
IfcStore.link_element(element, obj)
File "C\bonsai\bim\ifc.py", line 258, in link_element
tool.Geometry.get_mesh_props(obj).ifc_definition_id = element.id()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C\bonsai\tool\geometry.py", line 92, in get_mesh_props
return mesh.BIMMeshProperties
^^^^^^^^^^^^^^^^^^^^^^
ReferenceError: StructRNA of type Mesh has been removed
```
2025-05-16 19:43:42 +05:00
Andrej730
4369baa226
bim.split_along_edge - improve descriptions, add error handling
2025-05-16 19:43:42 +05:00
Andrej730
7941d71feb
SvgWriter - make required arguments more explicit
2025-05-16 19:43:42 +05:00
Andrej730
68d967c2e5
pyproject.toml - enableTypeIgnoreComments=false
2025-05-16 19:43:41 +05:00
Andrej730
4ea9a598c7
operator.drawing - remove unnecessary ifc operators
2025-05-16 19:43:41 +05:00
Andrej730
06d1c81954
black .
2025-05-16 19:43:41 +05:00
Andrej730
aa5f08880b
typing
2025-05-16 19:43:41 +05:00
Ryan Schultz
9e6320d545
A preference to list those classes that are not affected by the 'cut decorator'.
2025-05-15 21:45:53 -05:00
Bruno Perdigão
f39d3d4b9c
Fix polyline plane method decorator to show properly.
...
The `plane_method` where not being cleared after canceling or confirming
the polyline operator.
2025-05-15 21:28:31 -03:00
Bruno Perdigão
5c72cf35bd
See #6208 . Change wall merge tolerance for more consistent behavior.
2025-05-15 19:08:04 -03:00
Bruno Perdigão
b9a435e1c3
Fix polyline tool calculation when dealing with 180 degrees angles.
2025-05-15 17:41:32 -03:00
Bruno Perdigão
92f2559ce0
See #6536 . Recalculate profile only for selected objects.
2025-05-15 17:41:32 -03:00
Bruno Perdigão
acf9713943
Fix aggregate decorator after #6537 .
2025-05-15 17:41:32 -03:00
Andrej730
a77125ff12
bim.add_drawing - document camera placement behaviour in description
...
See https://i.imgur.com/VfOjGHk.png
2025-05-15 20:01:02 +05:00
Andrej730
c8841bcb6a
Add a test for be65774
2025-05-15 20:01:01 +05:00
Andrej730
b20997dea8
Fix tests missing assert statement - add assert and fix them
2025-05-15 19:45:11 +05:00
Andrej730
292aca6685
Remove unnecessary IFC operators
2025-05-15 19:45:11 +05:00
Andrej730
3a824ec969
Allow adding arrays to openings and spatial elements 0b8fb41 0e37528
2025-05-15 19:45:11 +05:00
Andrej730
bea9f42f87
Annotator.add_text - remove ancient dead code
...
It was deprecated a while ago in 43869c3 , when we stopped using curves for text annotations. bim.resize_text was also using curve annotations and now also was unused
2025-05-15 19:45:11 +05:00
Andrej730
e4a50b32ce
typing
2025-05-15 19:40:44 +05:00
Andrej730
76611024b6
Remove drawing styles attributes prop ( a50c633cf)
2025-05-15 10:30:35 +05:00
Andrej730
92ee82374c
EPset_Drawing.Metadata - add description
...
See https://i.imgur.com/0fR9fRj.png
2025-05-14 19:40:46 +05:00
Andrej730
af81aa1fae
Reapply 06f1477 to fix not appearing IFC Description button
...
Not that skipping non-string properties was a bad idea, but inserting it right at the beginning was - non-string IFC properties were missing IFC descriptions because of it. Moved it past `Attribute` check to avoid this issue.
For anyone hearing about this feature for the first time - https://imgur.com/a/dNRao3R
I assume this was also the issue that was encountered in #5892
2025-05-14 19:40:45 +05:00
Andrej730
16f9f91561
util.doc - statically type json structures
2025-05-14 19:40:45 +05:00
Andrej730
3a52a848ae
draw_custom_context_menu - small refactor to improve readibility
2025-05-14 19:40:45 +05:00
Andrej730
a50c633cf4
Remove drawing styles attributes
...
It's been awhile since they were unused (2c301d7 ) and now they're replaced with EPset_Drawing.Metadata
2025-05-14 19:40:45 +05:00
Andrej730
6251750133
common method for getting active drawing style
2025-05-14 19:40:45 +05:00
Andrej730
acef6379e8
drawing styles - add descriptions to render types, remove NONE type
...
NONE type removed as it was unused and basically meant the same as 'VIEWPORT'.
Example - https://i.imgur.com/7r6CJdg.png
2025-05-14 19:40:45 +05:00
Andrej730
c2860e6e25
drawing.operator not to use DrawingsData
2025-05-14 19:40:44 +05:00
Andrej730
b8e5cd740a
Use common method for getting active drawing entity
2025-05-14 19:40:44 +05:00
Andrej730
9188dc60ab
typing
2025-05-14 19:40:44 +05:00
Thomas Krijnen
8ce56db0c3
Align preprocessor flags #6706
2025-05-14 13:09:17 +02:00
Andrej730
b91b1401f4
util.get_aggregate - make it more readable ( 5597095)
2025-05-13 17:44:42 +05:00
Andrej730
0e37528915
Skip IfcOpeningElements arrays during base import, setup constraint on opening load #6688
2025-05-13 17:23:46 +05:00
Andrej730
9991c4aa56
IfcImporter.create_generic_elements - prevent argument mutation
...
as it may have unexpected consequences
2025-05-13 17:23:46 +05:00
Andrej730
0ef3983035
bim.show_opening - simplify code
2025-05-13 17:23:46 +05:00
Andrej730
0f6e6a48f4
bim.show_openings - expand description
2025-05-13 17:23:45 +05:00
Andrej730
3d225beafd
Add notes on Tekla accommodations ( 7c3870595)
2025-05-13 16:59:12 +05:00