Bruno Perdigão
db77d06a8a
Fix error introduced by b9c6508aa
2024-10-15 23:21:38 -03:00
Dion Moult
4684aa4a55
Fix bug where you couldn't add conditional material psets
2024-10-16 12:26:33 +11:00
Bruno Perdigão
b9c6508aa7
Polyline wall ability to switch axis while drawing.
...
While drawing the polyline the user can press:
- F to flip the wall. Changes the direction sense.
- O to change the offset type between Exterior, Center and Interior. This will change the offset from reference line.
Those attributes can be verified in the Object Materials panels of each wall after they are created.
2024-10-15 21:58:34 -03:00
Bruno Perdigão
d7bf8eba02
Fix small issue with the area decorator for the measure tool.
2024-10-15 21:47:42 -03:00
Bruno Perdigão
e7a725dca3
Fix #5562
bonsai-0.8.1-alpha241016
2024-10-15 21:25:16 -03:00
Bruno Perdigão
f763e4b0a7
Remove increment snap from the measure tool.
2024-10-15 10:01:25 -03:00
Andrej730
12742bd08c
bim.load_project to support relative paths #5407
bonsai-0.8.1-alpha241015
2024-10-15 17:57:00 +05:00
Andrej730
8940ec7b80
hide non-ifc objects from relating product dropdown
2024-10-15 17:57:00 +05:00
Andrej730
cb2895cc41
util.shape for materials and material_ids
2024-10-15 17:57:00 +05:00
Andrej730
1facba797d
aggregate data - small optimization
...
check for first BBIM_Linked_Aggregate instead of iterating over all rels
2024-10-15 14:30:49 +05:00
Andrej730
a76e802ab4
aggregate module - remove unnecessary ifc operators
2024-10-15 14:30:49 +05:00
Andrej730
afeec29261
Document bim.aggregate_assign_object
2024-10-15 12:34:07 +05:00
Andrej730
6c573445dd
More clever object selection for assigning aggregates #5560
...
Basically those two properties (Relating Whole and Related Part) are now showing only objects that are valid for the assigning an aggregate - https://i.imgur.com/bqQsXhG.png
2024-10-15 12:34:07 +05:00
Andrej730
f17c2eb80e
bim.query_linked_element - close db connection manually
...
otherwise it seems it was never closed (even if you open some other ifc project in current blender session) and .sqlite file is locked from being deleted (at least on Windows)
2024-10-15 11:28:37 +05:00
Andrej730
0888cbb675
small fix 2aeb87b5f
2024-10-14 17:53:12 +05:00
Andrej730
2aeb87b5fe
reuse ifcopenshell.util.shape
2024-10-14 17:37:34 +05:00
Andrej730
79c09ae225
Error appending inspected linked element for detailed meshes #5415
...
Was resulting in error below for meshes with > 1000 face indices (>~333 tris)
last_error: Traceback (most recent call last):
File "C:\Users\Ryan Schultz\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\.local\lib\python3.11\site-packages\bonsai\bim\ifc.py", line 408, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Ryan Schultz\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\.local\lib\python3.11\site-packages\bonsai\bim\module\project\operator.py", line 1858, in _execute
ifc_file = ifcopenshell.open(queried_obj["ifc_filepath"])
~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'bpy_struct[key]: key "ifc_filepath" not found'
2024-10-14 17:37:29 +05:00
Andrej730
686514b88a
fix toggling link visibility after be68a8f #5524
2024-10-14 17:37:29 +05:00
Andrej730
a014cd58e3
fix toggling link selectibility after be68a8f #5524
2024-10-14 17:37:29 +05:00
Andrej730
090c670f04
avoid reimport representation meshes having .001 suffixes
2024-10-14 17:37:29 +05:00
Andrej730
d1b9d9697e
document.operator - remove unnecessary ifc operators
2024-10-14 17:37:28 +05:00
Andrej730
fe316e2741
documents ui - hide Name attribute from editing for document references #5542
...
To avoid invalid ifc.
2024-10-14 17:37:28 +05:00
Andrej730
16553417c1
document.import_references - note about not using Name #5542
2024-10-14 17:37:28 +05:00
Andrej730
fac9444cfd
ifc5d - use utf-8 encoding for reading csv files #5561
...
Same encoding as we use in Ifc5DCsvWriter.
2024-10-14 17:37:28 +05:00
Andrej730
cd8f6e2c78
typing
2024-10-14 17:37:28 +05:00
Andrej730
9e2189fea4
prop_with_search for external styles enum #5569
...
Ping @Gorgious56 as perhaps you might be interested in this weird case - it seems passing Operator with context_pointer_set makes it OperatorProperties which doesn't have original __annotations__.
2024-10-14 12:23:31 +05:00
Andrej730
5ffef568f7
black .
2024-10-14 12:23:31 +05:00
tim
9ccbd332cf
Type Manager fixes
...
- Corrected the alignment of the Type Manager preview in tool header
- Improved click-ability of the thumbnail icon in the Type Manger preview in the side bar
bonsai-0.8.1-alpha241014
2024-10-14 11:47:23 +11:00
Ryan Schultz
a1fb4d6b81
fix #4051 : filter to only show IfcProfileDefs that are attached to IfcMaterialProfiles
2024-10-13 11:24:41 -05:00
Ryan Schultz
2f0500a14b
have dimensions like 0 7/8" read like 7/8"
bonsai-0.8.1-alpha241013
2024-10-13 08:48:21 -05:00
Bruno Perdigão
6f6700db06
Fix bug with mixed snap.
2024-10-11 10:38:15 -03:00
Bruno Perdigão
0235d84f25
Fix small issue with area and length measurement text in polyline tool.
2024-10-11 09:43:23 -03:00
Bruno Perdigão
1225073bef
Remove debug print statement
2024-10-11 08:47:39 -03:00
Dion Moult
fb714e8fd8
Fix #5482 . Reimplement handling of arc detection to allow consecutive arcs.
2024-10-11 21:33:10 +11:00
Dion Moult
a0aa5396c9
Purge option for native meshes
2024-10-11 20:18:47 +11:00
Bruno Perdigão
017de3bd59
Fix measurement area text showing in wall polyline
2024-10-10 22:08:19 -03:00
Bruno Perdigão
fe5dada256
Fix measurement area text position.
2024-10-10 21:48:11 -03:00
Bruno Perdigão
fe0aa4b5b7
Change angle increment for axis snap.
bonsai-0.8.1-alpha241011
2024-10-10 20:59:57 -03:00
Bruno Perdigão
3a2f29aefc
Fix bug in measurement area decorator.
...
Make input validation accept "m²" and "mm²"
2024-10-10 20:59:57 -03:00
Bruno Perdigão
cdaa782c18
Poyline tool - Adds more layers to increment snap base on viewport zoom.
2024-10-10 20:59:57 -03:00
Bruno Perdigão
b4d652d12e
Fix small issue with snap axis when using measure tool with different planes
2024-10-10 20:59:57 -03:00
Bruno Perdigão
014edcdadc
Fix X, Y and Z axis snapping after e673226ea1249a2432ff7b00a7581d750825b544
2024-10-10 20:59:57 -03:00
Bruno Perdigão
3f2efcc846
Fix small issue with increment snap
2024-10-10 20:59:57 -03:00
Bruno Perdigão
095c854d41
Improves angle snapping
2024-10-10 20:59:57 -03:00
Bruno Perdigão
dd646d2763
Increment snap now works only for plane and axis snapping.
2024-10-10 20:59:57 -03:00
Dion Moult
a32c4ae694
CGAL-Hybrid is now the default. Let's see what happens!
2024-10-11 08:49:42 +11:00
Dion Moult
2e21ec749b
Fix #5538 . Purge native mesh handling in Blender. This is now obsolete with CGAL-Hybrid.
2024-10-11 08:40:22 +11:00
Thomas Krijnen
189bcd5ad6
Maintain identity and cache styles based on surface-style-shading not styled-item #5486
2024-10-10 16:48:30 +02:00
Dion Moult
dc1842dbe8
Fix #5520 . Incorrect double calculation of daylight savings and UTC zone.
2024-10-10 22:02:50 +11:00
Dion Moult
c75e2e3fc0
Fix failing core tests
2024-10-10 21:36:48 +11:00