Andrej730
df69ca27da
Remove duplicated active_dictionary prop ( 22f10e5)
2025-06-24 19:08:41 +05:00
Andrej730
b3778facda
Fix core drawing tests after be65774
2025-06-24 19:08:41 +05:00
Andrej730
c333535ae5
Blender 4.5 - prevent infinite loading of previews
...
Related - https://projects.blender.org/blender/blender/issues/140903
2025-06-24 19:08:40 +05:00
Andrej730
fcaeb920ec
typing
2025-06-24 19:08:40 +05:00
Andrej730
50d3cab1ec
Fix regression with thumbnails update #6839 ( be1836f)
2025-06-24 19:08:40 +05:00
Andrej730
4574351817
Light UI - detect Sun Position addon activation/deactivation more reliably
2025-06-23 19:06:16 +05:00
Andrej730
623997b40d
Revert unintended prop_with_search change ( 98c479f1b)
2025-06-23 19:06:16 +05:00
Andrej730
8f7b965a58
Light UI - add our own 'coordinates' property
...
To ensure when it's changed - latitude and longitude update will follow. Previously we were just displaying sun position addon's `coordinates' prop.
2025-06-23 19:06:16 +05:00
Andrej730
c1e6e7d736
light module true_north prop - use Blender angle subtype
2025-06-23 19:06:16 +05:00
Andrej730
f684a6058c
Light UI - quickly select current time/pick location from Google Maps
...
Location - https://files.catbox.moe/ew9tgd.png ("Now" and "Pick" buttons)
2025-06-23 19:06:15 +05:00
Andrej730
1a80e3f1a1
bim.enum_property_search - note on activate_init
2025-06-23 19:06:15 +05:00
Andrej730
28bee52dff
Blender 4.5 - deprecate GPUShader constructor
...
Now it should be replaced with `gpu.shader.create_from_info`
2025-06-23 19:06:15 +05:00
Andrej730
58449368fb
radiance_exporter_properties -> BIMRadianceExporeterProperies
...
For consistency with other props
2025-06-23 19:06:15 +05:00
Andrej730
30c33518f0
typing
2025-06-23 19:06:14 +05:00
Andrej730
3a06afae25
black .
2025-06-23 19:06:14 +05:00
falken10vdl
98c479f1bd
Create instance context menu ( #6830 )
2025-06-22 07:09:57 -05:00
Ryan Schultz
d875baefde
#5709 - Partly addresses RCP camera flipping around. (still hacky though)
2025-06-21 10:14:09 -05:00
Ryan Schultz
64aeef7103
Automatically detect bonsai_path
2025-06-21 07:59:51 -05:00
Andrej730
67ae9fced0
bim.extend_walls_to_polyline_point - fix poll errors selecting non-ifc objects
...
E.g.
```
File "\bonsai\bim\module\model\wall.py", line 142, in poll
if not tool.Ifc.get_entity(obj).is_a("IfcWall"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_a'
```
2025-06-20 18:48:37 +05:00
Andrej730
e18346d4ea
bim.remove_application - remove unneccessery info from the tooltip
...
Since now user can edit applications and see that info there.
2025-06-20 18:48:36 +05:00
Andrej730
c724b2a888
Applications UI - also show app versions
...
So apps with different version would be identifiable by a glance.
2025-06-20 18:48:36 +05:00
Andrej730
d05f320665
Bonsai - prevent duplicating IfcOpenShell organization for new IfcApplications
2025-06-20 18:48:36 +05:00
Andrej730
6599f74d11
Make Bonsai IfcApplication identifier unique
...
To avoid validation errors.
2025-06-20 18:48:36 +05:00
Andrej730
4f03c7e03e
OwnerData.can_add_user - remove as unnecessary
2025-06-20 18:48:36 +05:00
Andrej730
946cae4065
ifcgit.git_diff - save diff to temp file on alt-click
2025-06-20 18:48:35 +05:00
Andrej730
98145fbbd9
Purge/merge IfcPersonAndOrganizations
2025-06-20 18:48:35 +05:00
Andrej730
74598b805b
Purge/merge IfcPerson entities
2025-06-20 18:48:35 +05:00
Andrej730
90ab846a18
typing
2025-06-20 18:48:34 +05:00
Andrej730
5ec77b1b1c
black .
2025-06-20 18:48:34 +05:00
Bruno Perdigão
8d079ce0cb
Remove unused code.
2025-06-19 16:38:22 -03:00
Bruno Perdigão
fb9edb733b
Refactor MeasureDecorator to use model PolylineDecorator code.
2025-06-19 16:33:51 -03:00
Andrej730
42b777b1f0
application ui - support changing organization
2025-06-19 19:28:34 +05:00
Andrej730
a968cad4cc
core/tool tests for application methods
2025-06-19 19:28:34 +05:00
Andrej730
7ab03109b9
typing
2025-06-19 19:28:33 +05:00
Andrej730
6782729ed8
black .
2025-06-19 19:28:33 +05:00
Ryan Schultz
9dc75ece44
Fix #6593 - preference to turn on/off cut decorator
2025-06-18 21:36:04 -05:00
Andrej730
cbd78506ce
Fix mistake in 96bdda305 - expose IfcApplication purge to UI
...
Noticed a mistake when merge was included twice for applications, instead of including purge+merge.
2025-06-18 19:13:59 +05:00
Andrej730
9af15aeb0b
Simple application UI for editing attributes
...
Example - https://files.catbox.moe/i0wgid.png
Previously before 71d469a27 we produced a lot of IfcApplications on live-builds because of the version differences, now it's possible to edit them from UI - fix the differences and merge them using 106323847
2025-06-18 19:12:12 +05:00
Andrej730
b1bfe5c3b3
tool.ifc.run - replace with direct api calls
2025-06-18 19:12:11 +05:00
Andrej730
c68b0c7280
typing
2025-06-18 19:12:10 +05:00
Andrej730
21f5363c74
Bonsai - cache get_user and get_application for a speed-up
2025-06-17 18:44:32 +05:00
Andrej730
71d469a271
Bonsai - use main version part to avoid creating too many IfcApplications
2025-06-17 18:41:20 +05:00
Andrej730
96bdda305e
Bonsai - purge unused IfcApplications and IfcOrganizations
2025-06-17 18:41:20 +05:00
Andrej730
1063238479
Bonsai - merge identical IfcOrganizations, IfcApplications
...
Added an utility to merge organizations and application that have exactly the same data. Noticed working with different files that sometimes they have these data duplicated - I guess reasons vary (revit exporter, our bug - c58b84d ), but it's nice to be able to clean up redundant data.
Though still need to add some UI to change IfcApplications, so user could also get rid of them in case if they have small differences.
Feature location - https://files.catbox.moe/pwymx1.png
@theoryshaw in file from #6784 there were 2481 identical organizations and 1234 identical applications 😅
2025-06-17 18:41:20 +05:00
Andrej730
d1337cff02
Refresh applications UI on changes ( bd1871bd4)
2025-06-17 18:41:19 +05:00
Andrej730
f26f2780e9
owner.ui - check props explicitly instead of relying on ifc data update
2025-06-17 18:41:19 +05:00
Andrej730
9282ccabb3
typing
2025-06-17 18:41:18 +05:00
Andrej730
bd1871bd44
Basic IfcApplications UI
...
Just so you can view IfcApplications in the project from UI
Example - https://files.catbox.moe/15a72n.png
2025-06-16 19:55:25 +05:00
Andrej730
a12bb343ca
Fix RUF015 (next() instead of list comprehensions[0])
...
https://docs.astral.sh/ruff/rules/-iterable-allocation-for-first-element/
2025-06-16 19:55:25 +05:00
Andrej730
176c5cc0fb
typing
2025-06-13 19:33:29 +05:00