Andrej730
bf892a6a06
Furniture library - small change after #4989
2024-12-19 18:31:48 +05:00
Andrej730
0e8eeb18ac
shape_builder - remove mathutils dependency completely #5192
2024-12-19 18:31:48 +05:00
Andrej730
bd0cf6cf3f
black .
2024-12-19 18:31:46 +05:00
Andrej730
7be21bf02e
mep - fix errors adding a bend/a transition
...
mesh is already removed by replace_object_ifc_representation
2024-12-19 18:31:46 +05:00
Ryan Schultz
07cf701e90
tweaks to a9defb94d0
...
thanks @Andrej730 for the direction.
2024-12-14 13:07:53 -06:00
Andrej730
7f1b234045
Fix #5871
2024-12-13 19:07:58 +05:00
Andrej730
2251679479
Skip parts without polygons converting mesh to tessellation #5870
...
As IFC doesn't allow mixed geometry types anyway.
2024-12-13 19:07:57 +05:00
Andrej730
99c752904a
Fallback to add_representation for mesh curves #5870 (after 42f32e3)
2024-12-12 18:16:12 +05:00
Andrej730
8574057340
bim.hide_booleans to hide all selected booleans, not just active
...
short demo - https://imgur.com/a/1h2glfj
2024-12-12 17:44:55 +05:00
Andrej730
363c3b0010
bim.show_booleans to show booleans for all selected objects
2024-12-12 17:44:55 +05:00
Andrej730
e098a7c4fc
Add option to disable loading index maps #5848
...
As currently it might still might take too long
2024-12-12 16:55:56 +05:00
Andrej730
ae61f28df7
Optimize loading index map - finding closest vert index #5848
2024-12-12 16:55:56 +05:00
Andrej730
d8cfc017d4
Optimize loading index map #5848
...
Use dict of face sets so we can get face data in O(1) instead of going through all of O(n).
2024-12-12 16:55:56 +05:00
Bruno Perdigão
4e0a813eb4
Fix Solar Analysis UI after changes in Sun Position Add-on.
...
Changes in this file: https://projects.blender.org/pioverfour/sun_position/src/branch/main/sun_calc.py
2024-12-11 16:39:12 -03:00
Bruno Perdigão
a447776fd7
Change georeference decorator UI.
2024-12-11 16:38:24 -03:00
Andrej730
fc9bcb0b82
Support reloading disk solids representation that use Blender curves
2024-12-10 18:09:27 +05:00
Andrej730
5df93cbb52
Support InnerRadius for disk imported as Blender curves #5859
2024-12-10 18:09:26 +05:00
Andrej730
9cd4ff9de4
Fix error adding an occurrence with no type selected #5863
2024-12-10 18:09:26 +05:00
Andrej730
b1231b74e2
Save texture style without textures to remove texture style
...
Mentioned in 618ba51 , it probably will be more natural this way - if there are no textures, we hide UV attribute to indicate that it won't be saved and on save we either do nothing, if texture style wasn't saved before, or remove it.
2024-12-10 18:09:26 +05:00
Ryan Schultz
91a061325d
Perform quantity take off near object's QTO. https://imgur.com/a/kzBA1GB
2024-12-09 15:13:13 -06:00
Andrej730
ce6a5080cd
Added headers for resources and cost schedule
...
Need to polish it and readjust it, just adding some headers to make tables more readable.
https://i.imgur.com/5Lb8Vrc.png
https://i.imgur.com/UYysZF1.png
2024-12-09 18:30:12 +05:00
Andrej730
8039fcd6f7
Fix invalid ifc saving texture style without any textures / option to remove surface style
...
Now it won't allow saving texture style without textures and there is a button to remove part of surface style.
2024-12-09 18:30:05 +05:00
Andrej730
194e033662
Fix error editing lighting style attributes 08e38c6
2024-12-09 18:30:05 +05:00
Andrej730
77a4145dcf
Fix error message creating texture style without render style
...
It was suggesting that it's possible to create it with just shading style though it's not currently supported.
Now it also appears when user is about to enable texture style editing, not when they're already trying to save the changes.
2024-12-09 18:30:05 +05:00
Andrej730
365d82f1d5
Loading texture maps - fallback to absolute paths
...
If it's not possible to get relative path, fallback to absolute path and show an info message.
2024-12-09 18:30:05 +05:00
Andrej730
618ba5187c
Readable error trying to create a texture style without textures #5855
2024-12-09 18:30:04 +05:00
Andrej730
6090c1c669
typing
2024-12-09 18:30:04 +05:00
Andrej730
1572bf36a7
Add descriptions to style/material selection operators
2024-12-09 16:56:15 +05:00
Andrej730
2e0ca32653
black .
2024-12-09 16:56:14 +05:00
Ryan Schultz
5086fcc35a
small fix to previous commit.
2024-12-08 20:12:03 -06:00
Ryan Schultz
a9defb94d0
Improved UI for BIM_PT_object_material
...
also can run `bim.select_by_material` by clicking on material name
2024-12-08 20:01:49 -06:00
Ryan Schultz
586f9be077
When toggling openings, voids are wireframe.
...
Discussed: https://community.osarch.org/discussion/2592/any-objections-of-changing-voids-to-wireframe-when-you-toggle-openings
Also, if you keep hitting tab, it cycles in and out of edit mode.
2024-12-07 15:31:37 -06:00
Ryan Schultz
93ec1cbfc2
closes #5086 : a preference to assign which classes display as wireframe upon opening the IFC file
2024-12-07 10:58:58 -06:00
Andrej730
c4ffc06a88
Bonsai - extract elements from selection #4316
...
Demo - https://imgchest.com/p/xny8qvox5yb
You can also now reuse 'bpy.data.texts['globalid-filter-3UvnD5Ml95zBDEcwAkAUIp']' kind of queries from Search in ExtractElements query.
2024-12-06 18:57:55 +05:00
Andrej730
2a713846ce
bonsai ifcpatch - add warning for unsupported patches
...
For patches that require filepath to be provided explicitly (they are still supported with "Load from memory" unchecked).
2024-12-06 18:57:55 +05:00
Andrej730
6fe5af3170
Fix regression for switching to Point/PointCloud representations
2024-12-06 18:57:54 +05:00
Andrej730
848af67fbb
typing
2024-12-06 18:57:53 +05:00
Andrej730
8609bd12cc
Fix default container label not updating #5817
2024-12-06 15:42:23 +05:00
Andrej730
3446643816
bim.switch_representation to handle representations with the same context
...
1) If object had multiple representations for the same context, then switch simply wouldn't work as it would always pick up the first representation it could find. Now it prioritizes the one user is selecting in UI.
2) If some object is selected and it also has multiple representations for the same context, then switch representation would switch it to any representation in that context it first finds. As user doesn't provide representation explicitly in that case, now it will stick to the already active representation on selected object if it matches the context, to avoid accident switches.
Notcied by working with example from #5824
2024-12-05 18:32:54 +05:00
Andrej730
1b61cbba8f
typing
2024-12-05 18:28:45 +05:00
Andrej730
538365885b
Hide output path for ifcpatch without output #4721
2024-12-05 17:24:33 +05:00
Andrej730
939cc63cae
SplitByBuildingStorey - fix errors, fix Bonsai UI #4721
...
- The patch was failed when executed from Bonsai since self.src wasn't provided, fixed now.
- Added a temporary hack to diplsay file selector for this patch.
- small refactor.
2024-12-05 17:16:26 +05:00
Andrej730
9cf34f9d8c
Select profile for profile type objects #5814
...
Demo - https://imgchest.com/p/9rydjxwanyk
2024-12-05 15:21:28 +05:00
Andrej730
eb87e7e866
Fix UI errors when selecting directories in file browser
...
It was only checking if it's existing path but wasn't checking whether it's a file, therefore directories with suffixes were slipping in and then failing during `IfcHeaderExtractor(filepath)`.
2024-12-04 17:46:55 +05:00
Andrej730
e4597708d7
simplify getting view 3d space
...
If area is VIEW_3D then area.spaces.active is always VIEW_3D too.
2024-12-04 17:46:55 +05:00
Andrej730
bb441ade3f
Fix error loading external shader styles
...
Mentioned in logs from #5820
Turned out, `area.spaces` also contain all other spaces this area used (e.g. it used be view3d before it became a nodegraph) leading to errors. Simplifying it with `area.spaces.active`.
2024-12-04 17:46:55 +05:00
Andrej730
00a509aa0b
typing
2024-12-04 17:46:55 +05:00
Andrej730
69fb486778
black .
2024-12-04 17:12:36 +05:00
Andrej730
7b09c9ad3b
Bonsai - handle invalid authorization None value in the header #5834
2024-12-04 14:16:51 +05:00
Ryan Schultz
e3317af56d
fix #5806 : When unlocking spatial objects, that it turns on select-ability as well.
2024-11-30 15:40:26 -06:00