Dion Moult
8b8af680bc
Merge branch 'v0.8.0' into webui_updates
2024-08-29 09:55:41 +10:00
Dion Moult
8a57a52949
Bump IOS
2024-08-29 09:20:32 +10:00
Jean-Marc Couffin
720eda51c3
Update README.md with new blenderBMI branding - BONSAI
2024-08-29 08:35:24 +10:00
Bruno Perdigão
01a701007e
Fix b74811b3f
2024-08-28 19:02:06 -03:00
Bruno Perdigão
ec5368224f
Fix after fbcb19fdb
2024-08-28 18:58:11 -03:00
Bruno Perdigão
56e9488d3e
A few updates on Snap and Raycast to improve the snap feel.
2024-08-28 16:52:35 -03:00
Bruno Perdigão
23ec2fc48e
Adds intersect_edges_v2 to Cad tools.
...
This function uses another method to calculate the closest points in two edges that are not parallel.
The `intersect_line_line` from mathutils were not getting good results when using orthogonal view.
2024-08-28 16:52:35 -03:00
Bruno Perdigão
fbcb19fdbb
Improved snap "stickiness".
...
Added more control on how the snapping system selects the snapping point, and "M" key now updates the input panel.
Added `intersect_edge_2` to Cad tool
Revert "Improved snap "stickiness"."
This reverts commit 85e67d3996ab8002b4cef7c0b859e9da251d39bf.
A few snap and raycast changes to improve the snap feel
2024-08-28 16:52:35 -03:00
Andrej730
d9f3c9d012
bim.activate_model to hide all annotations #5232
2024-08-28 23:54:17 +05:00
Yassine Oualid
91e236c42c
Display and Load Work Schedules from webUI
2024-08-28 18:57:40 +01:00
Yassine Oualid
03ab88b5bb
First Draft Cost Schedule Web UI:
...
- display cost schedules
- load cost items
- Add cost items
- Edit cost item names
2024-08-28 18:54:18 +01:00
Andrej730
42ef06aae1
typing
2024-08-28 18:47:23 +05:00
Andrej730
691dfb45f0
bim.activate_model to unhide all objects #5232
...
Restore old behaviour (new behaviour was introduced by accident in 786b796 ) where it would unhide all objects instead of keeping only objects in the current drawing.
2024-08-28 18:42:10 +05:00
Andrej730
760816b7f0
Show occurrences in spatial manager decomposed elements
...
Example - https://imgur.com/a/PNFUbv0
2024-08-28 17:57:19 +05:00
Andrej730
fc04c6e41e
Remove unused property
2024-08-28 17:53:13 +05:00
Andrej730
99e67d528f
Remove duplicated then decorator from b9855b2
...
'then the object name is selected' were already defined in then_the_object_name_is_selected
2024-08-28 16:42:55 +05:00
Andrej730
c113061742
Preserve visibility status for non-ifc objects when drawing is activated
...
Mentioned in #3402
2024-08-28 16:37:26 +05:00
Andrej730
174ff00a6d
Fix errors trying to setup decorations running tests
2024-08-28 16:37:26 +05:00
Andrej730
84a2d4266d
Autodocument hotkeys in the BIM tool hotkeys descriptions
...
Addition to #5223
Example - https://i.imgur.com/vGVHNPL.png
2024-08-28 15:41:50 +05:00
Andrej730
64cba98c3d
Fix #5235
2024-08-28 14:37:58 +05:00
Andrej730
1aed2a6b3c
Fix error not excluding annotations from other drawings after 3848a21
...
Mentioned in #5233
Also some refactor:
- checking IfcProduct instead of IfcProject. Not sure when this issue occur in general but if it occurs then it might fail for other non-IfcProducts too, not just IfcProject
- small performance optimization
2024-08-28 12:35:47 +05:00
Andrej730
4e1a956830
Fix #5233
2024-08-28 12:35:47 +05:00
Andrej730
747a39b440
48f0dc6a00 to pass on unix too
2024-08-28 11:29:39 +05:00
Andrej730
1b49515d9f
Replace ordered_set with orderly_set
...
deepdiff deprecated use of ordered_set and switched to orderly_set (ordered_set fork), so we switch too
see https://github.com/seperman/deepdiff/releases/tag/8.0.0
bonsai-0.7.11-alpha240828
2024-08-28 11:14:52 +05:00
Bruno Perdigão
dabb85c466
Fix polytool input for distance zero
2024-08-27 19:59:55 -03:00
Bruno Perdigão
b74811b3f4
Polytool, changed decorator order to show created polyline first.
2024-08-27 19:53:03 -03:00
Bruno Perdigão
79eaf895f7
Fix polyline to work only with walls.
...
This is temporary until we enable polyline to work with other tools.
2024-08-27 19:05:30 -03:00
Bruno Perdigão
994c85a05a
black format
2024-08-27 18:22:43 -03:00
Bruno Perdigão
0faacccf6d
Raycast now filters objects that are not in the active local view.
2024-08-27 18:20:06 -03:00
Bruno Perdigão
89d27bdf5f
Fixed edge snap.
...
The `intersect_line_line` were returning points that were outside
the object edges, so it was added a function to check if the point
return is on the object edge.
2024-08-27 18:20:06 -03:00
Bruno Perdigão
76853db32c
Fix mixed snap for Polytool
2024-08-27 18:20:06 -03:00
Andrej730
002c50e29d
black format
2024-08-27 18:25:30 +05:00
Andrej730
d2efb2ab78
operator to toggle container elements
...
Example - https://imgur.com/a/Sy83Tnz
2024-08-27 18:25:30 +05:00
Andrej730
8bb78959ef
h5 cache - improve logs
...
Now there are logs when cache was successfully loaded/created/failed to load.
2024-08-27 18:25:30 +05:00
Andrej730
48f0dc6a00
bim.purge_hdf5_cache to skip currently loaded cache
...
Previously it would fail with:
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'bonsai\\bim\\data\\cache\\988c190483ae6bab7cf6b00cee78694d.h5'
2024-08-27 18:25:30 +05:00
Andrej730
27aee31adf
typing
2024-08-27 18:25:29 +05:00
Bruno Perdigão
24aaefb927
Polytool, fixed error with setting the plane method
2024-08-27 10:03:02 -03:00
Bruno Perdigão
7daec25454
Polytool, fixed decorator to show the mouse snapping point on top.
2024-08-27 10:03:02 -03:00
Andrej730
8309b13db0
reveal element filters and drawing underlay panels just if drawing is active
...
Those two panels were requiring drawing's camera to be active object which was a bit confusing since "Active Drawing" section above worked fine without selecting camera explicitly.
https://i.imgur.com/wcmA73Z.png
2024-08-27 17:55:44 +05:00
Andrej730
5e95985d19
Fix error setting integer properties in bim tests
2024-08-27 11:33:58 +05:00
Andrej730
fefe325ece
Fix workflow for tests requiring Sun Position extension
2024-08-27 11:33:21 +05:00
Bruno Perdigão
b717abf639
Polytool: small fix for Z axis line decorator
bonsai-0.7.11-alpha240827
2024-08-26 17:11:20 -03:00
Bruno Perdigão
32ae12b45a
Polytool: added on screen snap information.
2024-08-26 17:11:19 -03:00
Bruno Perdigão
48b74ebb76
Polytool: creates a decorator to show instructions on the screen.
2024-08-26 17:11:19 -03:00
Bruno Perdigão
197d0b3258
Fixed issue with X, Y and Z input for polytool.
...
This issue was caused by the change to X, Y, Z keys for lock axis.
2024-08-26 17:11:19 -03:00
Bruno Perdigão
2a1bc30f19
Polytool improved axis lock and mixed snapping
...
You can now lock into an axis while snapping to an object.
The result will be to closer point. In the future, there should
be a way for the user to select between different points.
2024-08-26 17:11:19 -03:00
Bruno Perdigão
6dcbd98769
Fixed error for measure tool when working with top or side view.
2024-08-26 17:11:19 -03:00
Bruno Perdigão
1be025ed86
Fixed typo
2024-08-26 17:11:19 -03:00
Bruno Perdigão
6fa87a16ab
Polytool refactor for selecting plane and axis snap.
...
User can now select X, Y, Z to lock to an axis, and
S-X, S-Y and S-Z to lock to a plane.
2024-08-26 17:11:19 -03:00
Ziad-I
8c19b695ea
fix drawings and sheets paths not being normalized
...
which lead to the paths sometimes having both / and \\
2024-08-26 20:07:50 +03:00