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
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
Bruno Perdigão
b717abf639
Polytool: small fix for Z axis line decorator
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
Ziad-I
5831c56380
remove left over print :)
2024-08-26 16:29:09 +03:00
Andrej730
3dde1b80b9
Fix errors initializing hdf5 cache #4832
2024-08-26 17:33:23 +05:00
Andrej730
08dd8f87ff
Operator to select document related objects
...
https://i.imgur.com/4gXAram.png
2024-08-26 17:15:44 +05:00
Andrej730
edcfcd8850
Fix error if user hit shift-a in Annotation Tool without any drawing active
2024-08-26 15:47:00 +05:00
Andrej730
33bbf9fc53
remove debug print in collector.assign
2024-08-26 15:47:00 +05:00
Andrej730
286e90e299
Add annotation by default to the active drawing #5216
...
Approach in 358c834 didn't worked out because annotations are assigned to the drawing after assign_class and we can't check in assign_class whether it's going to be part of the drawing.
2024-08-26 15:46:59 +05:00
Bruno Perdigão
5aa7758795
Small fix in angle input for polytool
2024-08-25 21:36:11 -03:00
Bruno Perdigão
6c47baf0de
Small fix in polytool with angle input when working with millimeters units
2024-08-25 19:13:27 -03:00
Bruno Perdigão
51018177cd
Added option for wall_from_to_points not round the length and angle.
...
This function was hard coded to round length angle, now it has an option.
I assume it was originally built like this because it was supposed to
work only with Grease Pencil.
2024-08-25 19:07:50 -03:00
Bruno Perdigão
be9719f5ca
Fixed issue with creating duplicated points in polytool
2024-08-25 18:53:53 -03:00
Bruno Perdigão
9193ff7252
Fixed error with raycast in orthogonal view
2024-08-25 18:42:00 -03:00
Bruno Perdigão
53c3019b73
Small fix
2024-08-25 18:36:20 -03:00
Bruno Perdigão
6bbf3d3917
Refactor snapping functions and allow to choose snapping point.
...
By pressing "M", the user can now cycle through active snapping points when
there are many options close to each other. Still lacks a text to give
information about the active point.
2024-08-25 18:27:10 -03:00
Ziad-I
47a15011f6
add button to drawings panel to open documentation web ui page
...
might need a different icon since the URL icon is used by the open_drawing button
2024-08-25 21:38:15 +03:00
Ziad-I
f26f6dfe5e
fix broken display for multiple spreadsheets due to absolute position
...
removed absolute positioning as it made spreadsheets on top of each other
and made the spreadsheet's width and height as full screen as possible. also, add a separating margin between two spreadsheets.
2024-08-25 20:30:20 +03:00
Ziad-I
1745a4fd39
fix theme data not being sent when all Bonsai's are disconnected
2024-08-25 17:50:26 +03:00
Dion Moult
fcaac3787b
Continuing work to update docs
2024-08-25 22:15:12 +10:00
Dion Moult
d4a0dd1527
Split header and panel tool UI into two functions. Align related tool buttons together.
2024-08-25 15:43:55 +10:00