Andrej730
fc9bcb0b82
Support reloading disk solids representation that use Blender curves
bonsai-0.8.1-alpha2412101311
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
1e0ca1d891
convert-back-units test #5864
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
Thomas Krijnen
ea68f90693
Fix other unit conversion issues #5864
2024-12-10 11:19:43 +01:00
Thomas Krijnen
064ccf8ab6
Always apply shape healing to faces with inner bounds for wrong orientation
2024-12-10 09:24:29 +01:00
Thomas Krijnen
db865ec88f
Revert submodule change in 586f9be077
2024-12-10 09:24:29 +01:00
Ryan Schultz
91a061325d
Perform quantity take off near object's QTO. https://imgur.com/a/kzBA1GB
bonsai-0.8.1-alpha2412092113
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
bonsai-0.8.1-alpha2412091331
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.
bonsai-0.8.1-alpha2412090213
bonsai-0.8.1-alpha2412090807
bonsai-0.8.1-alpha2412090803
bonsai-0.8.1-alpha2412090755
bonsai-0.8.1-alpha2412090212
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
bonsai-0.8.1-alpha2412090202
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.
bonsai-0.8.1-alpha2412072132
2024-12-07 15:31:37 -06:00
civilx64
ad35ceef2a
add missing import for ifcopenshell.api.georeference
bonsai-0.8.1-alpha2412071718
2024-12-07 18:17:36 +01:00
Ryan Schultz
93ec1cbfc2
closes #5086 : a preference to assign which classes display as wireframe upon opening the IFC file
bonsai-0.8.1-alpha2412071659
2024-12-07 10:58:58 -06:00
Thomas Krijnen
8bba25497b
Add material name in gltF
2024-12-07 16:36:40 +01:00
Thomas Krijnen
9160038359
Reuse more existing api in cgal face self-intersection detection #5820
2024-12-07 16:26:59 +01: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.
bonsai-0.8.1-alpha2412061358
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
c306014190
ifcpatch - input and file arguments #2751
...
documented when input is currently required
2024-12-06 18:57:55 +05:00
Andrej730
2da5f2d61e
set_element_value - optimizations setting enum values
...
1) Identify from previous pset value whether prop was an enum (by checking if previous value is a list), instead of searching through prop templates
2) Compare previous and new enum values - if they match, skip editing IFC.
2024-12-06 18:57:54 +05:00
Andrej730
c7af55183b
set_element_value for enums - add a test
2024-12-06 18:57:54 +05:00
Andrej730
6fe5af3170
Fix regression for switching to Point/PointCloud representations
2024-12-06 18:57:54 +05:00
Andrej730
73185293df
Fix long time missing create_cog_representation
...
It was used in the code but method wasn't defined. I believe it was lost during 8b7d968 😁
2024-12-06 18:57:54 +05:00
Andrej730
6d01d71c60
add_representation.create_cartesian_point - fix missing z offset for 0 values
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
bonsai-0.8.1-alpha2412061043
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
bonsai-0.8.1-alpha2412051334
2024-12-05 18:32:54 +05:00
Andrej730
1b61cbba8f
typing
2024-12-05 18:28:45 +05:00
Andrej730
8d2b783b4a
fix small bug in 939cc63ca
bonsai-0.8.1-alpha2412051225
2024-12-05 17:24:33 +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.
bonsai-0.8.1-alpha2412051218
2024-12-05 17:16:26 +05:00
Andrej730
13106d255c
int formatting function #5039
...
Example - https://i.imgur.com/wDGFNci.png
bonsai-0.8.1-alpha2412051053
2024-12-05 15:52:27 +05:00
Andrej730
9cf34f9d8c
Select profile for profile type objects #5814
...
Demo - https://imgchest.com/p/9rydjxwanyk
bonsai-0.8.1-alpha2412051022
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)`.
bonsai-0.8.1-alpha2412041327
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
Thomas Krijnen
aef38bd869
Fix matrix access in XmlSerializer #5840
2024-12-04 10:39:01 +01:00
Andrej730
7b09c9ad3b
Bonsai - handle invalid authorization None value in the header #5834
bonsai-0.8.1-alpha2412040923
bonsai-0.8.1-alpha2412040918
2024-12-04 14:16:51 +05:00
Richard Brice
eadf35f031
Fixes unit conversion for polynomial coefficients
2024-12-02 14:45:05 -08:00