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
Dion Moult
10e76a09de
Fix failing MacOS builds
2024-10-10 21:12:35 +11:00
Thomas Krijnen
766f8adce7
nix/build-all propagate BUILD_SHARED_LIBS for -shared build
2024-10-10 09:16:28 +00:00
Dion Moult
47f013fc18
Add support for adding curvelike items
2024-10-10 18:34:20 +11:00
Dion Moult
bd42fc9cef
Add support for editing curves
bonsai-0.8.1-alpha241010
2024-10-10 14:45:05 +11:00
Bruno Perdigão
0eb713a7ff
Fix #5545
2024-10-09 14:37:04 -03:00
Bruno Perdigão
50c6cbcb2d
Polyline tool now shows dimensions for meters and centimeters.
2024-10-09 12:04:45 -03:00
Bruno Perdigão
304db50692
Improved snap hierarchy to allow better face snapping.
2024-10-09 10:41:53 -03:00
Bruno Perdigão
1a55212099
Revert snap stickiness value after changes in increment snap.
2024-10-09 10:28:40 -03:00
Bruno Perdigão
ddd17d519e
Fix error that was preventing 3d panning while polyline tool is active.
...
This error was introduced by 48784ba
2024-10-09 10:19:51 -03:00
Bruno Perdigão
481e6b8a8d
New implementation for increment snap.
...
The first implementation was based directly on Blender increment snap.
The new one works just by rounding distance and angle to a better number.
The rounding is still contextual to the window zoom.
2024-10-09 10:14:07 -03:00