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
Thomas Krijnen
f425794182
submodule
2024-12-01 20:26:18 +01:00
Thomas Krijnen
4d90684778
empty
2024-12-01 20:03:16 +01:00
Thomas Krijnen
049173286a
Bump precision in wkt output
bonsai-0.8.1-alpha2412011805
2024-12-01 19:05:22 +01:00
Thomas Krijnen
1ecf722111
Assert single polygon in arrange-spaces and no need for the closing point
2024-12-01 19:04:59 +01:00
Thomas Krijnen
85c0992975
submodule
2024-12-01 19:04:08 +01:00
Thomas Krijnen
b9f790217e
Initialize only_valid_
bonsai-0.8.1-alpha2412011022
2024-12-01 11:21:58 +01:00
Thomas Krijnen
4bb112ce71
Manually parse SVG polygons for space arrangement
2024-12-01 11:21:38 +01:00
Thomas Krijnen
efd05158c4
Propagate unit settings
2024-12-01 11:21:15 +01:00
Thomas Krijnen
3a687fecda
SVG reliance on UseElemHierarchy for storey decomposition
2024-12-01 11:20:37 +01:00
Thomas Krijnen
df060d7f60
submodule
2024-12-01 11:19:34 +01:00
Ryan Schultz
e3317af56d
fix #5806 : When unlocking spatial objects, that it turns on select-ability as well.
bonsai-0.8.1-alpha2411302140
2024-11-30 15:40:26 -06:00
Thomas Krijnen
da78a1107d
Fix validation error in non-aggregate aggregate #5830
bonsai-0.8.1-alpha2411301649
2024-11-30 17:49:29 +01:00
Ryan Schultz
b52edcea40
Use Top/Bottom when LayerSetDirection = AXIS3
bonsai-0.8.1-alpha2411291556
2024-11-29 09:55:42 -06:00
Thomas Krijnen
4ec8ceb134
Reintroduce --center-model and --center-model-geometry
2024-11-29 13:03:56 +01:00
Thomas Krijnen
8edbb37121
Fix latebound entity inheritance hierarchy wrt id() #5822 - not ideal, because BaseEntity.declation now returns declaration
2024-11-28 12:57:08 +01:00
Andrej730
c9847caa6a
ifccsv - support importing enum values #4608
bonsai-0.8.1-alpha2411271337
bonsai-0.8.1-alpha2411271331
2024-11-27 18:30:37 +05:00
Andrej730
b7db3da017
ifctester - save results to temp directory
...
the way it was intended to originally but absolute paths of ifc and ids got in the way
Replaced TemporaryDirectory with mkdtemp as sometimes .html report doesn't open fast enough and directory gets deleted. Also need to keep the directory to make sure .ods is not removed.
2024-11-27 18:30:37 +05:00
Andrej730
eca71032bf
black .
2024-11-27 18:30:37 +05:00
Andrej730
ab069f431a
typing
2024-11-27 18:30:37 +05:00
Andrej730
25eecded4e
ifcopenshell.validate to validate guids #5808
bonsai-0.8.1-alpha2411271042
2024-11-27 15:42:03 +05:00
Andrej730
cc014bb7ec
ifcopenshell.write check if file was saved successfully #5809
...
will help only for the cases if file didn't existed before
bonsai-0.8.1-alpha2411270800
2024-11-27 12:59:06 +05:00
Ryan Schultz
ba7b0d5c4f
When using queries in an IfcAnnotation tag surround with backticks
2024-11-26 21:48:46 -06:00
Bruno Perdigão
4f6e2586e1
Fix #5727
bonsai-0.8.1-alpha2411261347
bonsai-0.8.1-alpha2411261349
bonsai-0.8.1-alpha2411261350
bonsai-0.8.1-alpha2411261352
bonsai-0.8.1-alpha2411261345
2024-11-26 10:42:26 -03:00
Andrej730
dea3722ca5
bim.select_failed_entities - add info message
bonsai-0.8.1-alpha2411261319
bonsai-0.8.1-alpha2411261316
bonsai-0.8.1-alpha2411261312
2024-11-26 18:12:05 +05:00
Andrej730
268cbe9a69
remove debug print
2024-11-26 18:12:05 +05:00
Andrej730
85b7249a77
Fix error using cwd for titleblock path #5769
...
The titleblock is ifc relative, not .blend/cwd relative.
e.g. if you open Blender in C:\ and then would open .ifc from c:\path\to\project.ifc, it would try to create layouts folder in C:\layouts instead of c:\path\to\layouts
2024-11-26 18:12:05 +05:00
Andrej730
12c08b0697
typing
2024-11-26 18:12:05 +05:00
Andrej730
fb70374876
black .
2024-11-26 18:12:04 +05:00
Andrej730
a4145ecec2
Fix errors using shared path for drawing underlay #5803
bonsai-0.8.1-alpha2411261210
bonsai-0.8.1-alpha2411261209
bonsai-0.8.1-alpha2411261206
2024-11-26 17:06:00 +05:00
Andrej730
4da9f12960
BIMMeshProperties.obj - document
bonsai-0.8.1-alpha2411261117
2024-11-26 16:16:29 +05:00
Andrej730
04d3903ee2
bim.hide_boolean to apply changes to booleans transforms #5800
...
Example - https://imgchest.com/p/ljyq8zvwey2
2024-11-26 16:16:29 +05:00