Commit Graph

16026 Commits

Author SHA1 Message Date
Stephen Boddy 5bffa98eee Placeholder operator for DuplicateSheet function.
Does nothing but report Not Implemented. Could be omitted if this
kind of thing is frowned upon.
2024-11-02 00:05:31 +00:00
Stephen Boddy 1140e0e919 Fix enable/disable for ActivateDrawing operator icons.
This was a strange one. They have common invoke and execute methods,
but the polling has different conditions.
I tried subclassing the original ActivateDrawing for the Sheets version,
but something about Blenders operators breaks the classmethod decorated
poll. This was the cleanest solution I found, but maybe there's a better
one.
2024-11-01 23:57:36 +00:00
Stephen Boddy f62abb24e9 Add status bar Info messages for feedback on create tasks that now don't have visual feedback 2024-11-01 23:52:01 +00:00
Stephen Boddy ae11db5f11 All operators are now documented with standardised language and terms. 2024-11-01 23:50:30 +00:00
Stephen Boddy ff7fc40178 Improve drawing selections in RemoveDrawing operator 2024-11-01 23:46:13 +00:00
Stephen Boddy 0bf0d538b6 Add the Open Sheet + Shift+click power move 2024-11-01 23:43:20 +00:00
Stephen Boddy ada393a8fe Add the Shift+click power move to Create Sheet 2024-11-01 23:41:48 +00:00
Stephen Boddy 933ea0c0db Improve drawing selections in OpenDrawing operator 2024-11-01 23:35:35 +00:00
Stephen Boddy 058e1e5e99 Decouple creating and viewing drawings/sheets to avoid focus stealing popups polluting display on long batch runs 2024-11-01 23:30:43 +00:00
Stephen Boddy 3ed82bccff Missed adding the renamed operator to __init__ in commit 4cfc0bd9f3 2024-11-01 23:24:08 +00:00
Stephen Boddy 83d2f01ce9 Added selection checkmarks to Sheets, and operator to select all/none, to do batch ops on sheets 2024-11-01 23:11:53 +00:00
Stephen Boddy 4cfc0bd9f3 Rename core open_sheet, operator OpenSheet/bim.open_sheet to better reflect what it actually does, i.e. open_layout 2024-11-01 23:02:19 +00:00
Stephen Boddy 8b0e5097cc Improved enable/disabled icon behaviour
As many operators as possible now use polling method to set enabled/disabled state.
Icons set their enabled/disabled state intelligently depending on what is selected.
When an operator is disabled it says why it is disabled in the tooltip.
2024-11-01 22:48:04 +00:00
Stephen Boddy b51fca1515 Add active camera indicator to the Drawing list 2024-11-01 22:39:39 +00:00
Stephen Boddy e3101076ba Remove the superfluous Create and Open buttons from the Active Drawing pane 2024-11-01 22:32:00 +00:00
Stephen Boddy 457c97e680 Fix Schedules and References not incrementing the ID number properly 2024-11-01 22:20:17 +00:00
Stephen Boddy 9a2cde5abe Fix Shift-clicking SVG-DXF conversion 2024-11-01 22:17:36 +00:00
Bruno Perdigão 4c08eaf953 Add a proposal to #3692 bonsai-0.8.1-alpha2410312044 2024-10-31 17:43:30 -03:00
Bruno Perdigão 05b32b3c32 Fix #4298 bonsai-0.8.1-alpha2410311841 2024-10-31 15:38:57 -03:00
Richard Brice f3ce57480a Fixes unit conversion problem in IfcCurveSegment 2024-10-31 08:55:01 -07:00
Andrej730 08e38c65f5 Display Ifc length attributes as Blender length properties
Basically now all length ifc attributes should be displayed in UI as Blender length properties - they display the units and allow math, typing different units, etc.

Example - https://imgchest.com/p/dl7p93gz64o
bonsai-0.8.1-alpha2410311552
2024-10-31 18:40:14 +05:00
Andrej730 3e44f0f37b Quick way to select profile in profiles UI
Example - https://imgchest.com/p/9rydakllwyk
2024-10-31 18:40:14 +05:00
Andrej730 bd7ca78a37 bonsai - print number of voids for elements that hit void_limit 2024-10-31 18:40:13 +05:00
Andrej730 c53885f642 bonsai ifcclash - add separate property for export path
Example - https://i.imgur.com/bCRHx9q.png
Needed so it will be easier to rerun ifc clash without providing the same filepath each time.
2024-10-31 18:40:13 +05:00
Andrej730 e56589d544 ifcclash - fix broken list 2024-10-31 18:40:13 +05:00
Andrej730 380e791c59 ifcpatch - add pip installation to readme 2024-10-31 18:40:13 +05:00
Andrej730 904eb9fae8 Fix undo bugs with edited_objs
Now it's stored as a collection property in the project properties, so in the most cases we delegate to Blender to ensure it's handled properly on undo and redo.
2024-10-31 18:40:13 +05:00
Andrej730 09df81ab15 typing 2024-10-31 18:40:13 +05:00
Andrej730 b35ef2f101 black . 2024-10-31 18:40:13 +05:00
Andrej730 fb5d37b04b Fix support for python 3.10 #5662 bonsai-0.8.1-alpha2410311329 2024-10-31 18:28:24 +05:00
Andrej730 06a6c2d79b Option to apply openings to the geometry #5666
Button location - https://i.imgur.com/6zSv8vV.png
Now it's possible to "bake" openings to the geometry, The openings representation will be marked as "Reference".
bonsai-0.8.1-alpha2410311201
2024-10-31 17:00:43 +05:00
Andrej730 b39f96e2ee Fix bug duplicating edited object
It was losing original object representation on project save as it wasn't marked as edited.
bonsai-0.8.1-alpha2410311052
2024-10-31 15:50:21 +05:00
Andrej730 64b3101cef Skip applying scale to geometry on duplicate #5663 2024-10-31 15:50:21 +05:00
Thomas Krijnen 4cd8428d1d Update unit.py bonsai-0.8.1-alpha2410311000 2024-10-31 11:00:02 +01:00
Thomas Krijnen 0446befefa More permissive interval overlap test for 2d opening evaluation #5661 2024-10-31 10:35:30 +01:00
Andrej730 037b5d1bc1 Spatial container drop down to show only spatial objects
Example - https://i.imgur.com/v8p4D57.png (it's ignoring walls).
Since we now filter valid elements in poll_container_obj, then there is no need to check it twice in update_container_obj.
bonsai-0.8.1-alpha2410301417
2024-10-30 18:45:50 +05:00
Andrej730 e463407de7 void_limit - document bonsai-0.8.1-alpha2410301308 2024-10-30 18:07:34 +05:00
Andrej730 28f81496dd Small refactor for sync_edited_objects
1) remove materials if-branch as they're never edited
2) validate object explicitly
2024-10-30 18:07:34 +05:00
Andrej730 ccb223be94 Remove unnecessary ifc.finish_edits
Unused since we do not use fc.edit anymore for parametric geometry
2024-10-30 18:07:34 +05:00
Andrej730 33ed7e5234 typing 2024-10-30 18:07:34 +05:00
Andrej730 0662b0c5b6 Optimize updating representations adding/removing openings
No need to update all possible elements from decomposition because openings affect only related objects from IfcRelAggregate. For example, see #5639.
2024-10-30 18:07:34 +05:00
Andrej730 59e0dbae2c Fix 8ac9612 for IfcMaterials 2024-10-30 15:32:45 +05:00
Andrej730 e757c42204 Quick way to select style in Styles UI
Example - https://imgchest.com/p/ej7mkxp9ayd
2024-10-30 15:32:45 +05:00
Andrej730 b6da13c504 Fix hiding by accident object class asignment section in 86d0139f4 2024-10-30 15:32:45 +05:00
Andrej730 a66cffddb8 ifcopenshell-python - note about supported glibc versions 2024-10-30 15:32:45 +05:00
Andrej730 4dfb3cac51 bump ios build in bonsai
e8eb397 fixes #5658
bonsai-0.8.1-alpha2410300643
2024-10-30 11:42:34 +05:00
Thomas Krijnen 3d4988349a Remove self-intersecting faces #5650 2024-10-29 15:43:02 +01:00
Andrej730 fa07f184c3 ifctester - indicate optionality in report message
Previously for both cardinality optional/required ifctester would show same results.

E.g.
<ids:property dataType="IFCBOOLEAN" cardinality="required">
<ids:property dataType="IFCBOOLEAN" cardinality="optional">

Were resulting in something like
LoadBearing data shall be true and in the dataset Pset_WallCommon
LoadBearing data shall be true and in the dataset Pset_WallCommon

Now it will result in
LoadBearing data shall be true and in the dataset Pset_WallCommon
LoadBearing data may be true and in the dataset Pset_WallCommon
bonsai-0.8.1-alpha2410291317
2024-10-29 18:16:54 +05:00
Andrej730 067203cb9a ifctester webapp - add some tooltips 2024-10-29 18:16:06 +05:00
Andrej730 e9731f3047 ifctester webapp - fix issue with launching audit 2024-10-29 18:16:05 +05:00