Andrej730
8bddde49a2
Hide assign/unassign library declaration button for elements that cannot be declared
...
E.g. IfcMaterials, IfcProfileDefs
2025-01-29 18:16:05 +05:00
Andrej730
909a7ad7a2
Project libraries UI - use cached project library data
...
instead of accessing IFC directly on every draw call
2025-01-29 18:16:05 +05:00
Andrej730
c9da643fe1
typing
2025-01-29 18:16:04 +05:00
Andrej730
0599138bca
Fix #6050 after 5e93097
2025-01-29 17:25:30 +05:00
Dion Moult
5d3dc84556
Tabbing now works consistently on all elements including those with usage
...
This means that seeing the extrusion type graphically is now possible,
adding booleans is now through a consistent interface. It's still
possible to immediately edit the axis via Alt-E and profile via Shift-E.
This helps consoliate code too.
2025-01-29 21:38:01 +11:00
Dion Moult
a9abf1e993
Forgot to remove these mentions
...
Still need to update tests
2025-01-29 21:32:26 +11:00
Dion Moult
c2b00e09cf
Remove elements menu and purge the "potential" openings feature as this is now properly integrated in the new element menu
2025-01-29 19:55:42 +11:00
Dion Moult
121af475a7
The collector should be responsible for handling global fixed display settings too perhaps
2025-01-29 19:54:25 +11:00
Bruno Postle
84392f1457
Typo: strucutural > structural
2025-01-28 21:20:20 +00:00
Bruno Perdigão
d9903e93f2
See #5938 . This commit starts fixing this issue by:
...
- Fix wall decorator with obtuse angles.
- Preventing slabs from using obtuse angles, for now.
2025-01-28 16:10:17 -03:00
Andrej730
ab0549daa6
Support editing representation's presentation layers from UI
...
Example - https://imgur.com/a/QgtSUoq
2025-01-28 17:22:26 +05:00
Andrej730
cc014e9792
Change message when no object queries in a linked model
...
to give a hint for new users
2025-01-28 17:22:26 +05:00
Andrej730
c0306fc729
typing
2025-01-28 17:22:26 +05:00
Andrej730
7b94a8d1f5
black .
2025-01-28 17:22:25 +05:00
Dion Moult
03bfd828e2
See #5919 . API now has support for features, not just openings. Void module is renamed to feature.
2025-01-28 14:18:17 +11:00
Dion Moult
4d052ba864
Fix bug where decorator had errors if the 3D location was outside the 2D window.
...
Checking for none for `location_3d_to_region_2d` should always be done.
2025-01-28 10:33:08 +11:00
Bruno Perdigão
562c32b96e
Fix issue where area measurement lines where not showing correctly.
2025-01-27 18:58:02 -03:00
Bruno Perdigão
818ad536af
Small fix after a4a52d6576
2025-01-27 18:49:19 -03:00
Bruno Perdigão
a4a52d6576
Make slab's editing profile to horizontal orientation when x_angle is present.
2025-01-27 15:16:22 -03:00
Bruno Perdigão
47b2a00614
Fix Z location for wall axis decorator
2025-01-27 10:59:21 -03:00
Andrej730
ff4d3adf0b
Select Layer In Layers UI
...
Example - https://imgur.com/a/bXctIxc
2025-01-27 17:41:32 +05:00
Andrej730
13a182cd95
Representation Items UI - support editing layers
...
Example - https://imgur.com/a/3fn051N
2025-01-27 17:41:31 +05:00
Andrej730
56af23b89f
revert possible empty layer names in ui
2025-01-27 17:41:31 +05:00
Andrej730
605cf8d99a
Styles UI - add indicator for currently edited style
...
Example - https://i.imgur.com/YT0a63S.png
2025-01-27 17:41:31 +05:00
Andrej730
b735ce74ad
Bonsai - Select By Profile operator
...
Location - https://imgur.com/a/gInY1sl
2025-01-27 17:41:31 +05:00
Andrej730
e71a220f21
typing
2025-01-27 17:41:30 +05:00
Andrej730
5bd24b2760
Enable pset template prop editing on adding a new one #6019
2025-01-27 17:41:30 +05:00
Andrej730
14a792a1e7
Enable pset template editing on adding a new one #6019
2025-01-27 17:41:30 +05:00
Andrej730
7b4fa6b5c0
black .
2025-01-27 17:41:30 +05:00
Gorgious56
378086ac7b
Fix bug when trying to delete an opening object that was already deleted
2025-01-27 12:56:27 +01:00
Dion Moult
c4dbbe85fc
Fix bug where library wasn't actually removed when unlinking an IFC.
...
Previously the collection and scene object was removed, but this is
obviously not sufficient since the bpy.data.library still exists (which
meant that if you relinked it, regardless of your cache setting, it'd
just load the existing Blender file which is completely useless).
2025-01-27 20:41:26 +11:00
Dion Moult
559db259a3
See #6030 . Add isolate, show, and hide operators to group manager.
2025-01-27 17:14:13 +11:00
Bruno Perdigão
2b1a59a4f8
Refactor how offset and direction sense interact for wall and slabs.
2025-01-25 16:05:04 -03:00
Dion Moult
c49ca699eb
Forgot to commit new feature tool
2025-01-25 21:39:54 +11:00
Dion Moult
75c6505121
See #5919 . You can now add openings through "Add Element" just like everything else.
...
This means that openings can (and default to) start with extrusions. It
also starts to open up the possibility to add other types of feature
elements. Still really incomplete.
2025-01-25 20:43:08 +11:00
Dion Moult
2c531501c3
Fix #5614 . Fix bug where removing an object that had voids showing didn't also remove the voids.
2025-01-25 16:36:57 +11:00
Dion Moult
eab527e7a2
Fix #6033 . Add tools for generate slab from wall and vice versa in the toolbox. Still needs a nice icon.
2025-01-25 15:59:11 +11:00
Dion Moult
83368d7ee1
Fix #6014 . Incorrect units used for position matrix when detecting profiles. Fix by @brunoperdigao
2025-01-25 15:20:01 +11:00
Dion Moult
38835a4092
See #6030 . You can now select elements in groups recursively.
2025-01-25 14:11:42 +11:00
Dion Moult
a2a4da596f
Fix #6030 . Consolidate group management into single UI and allow for bulk assign / unassign.
2025-01-25 14:01:56 +11:00
Bruno Perdigão
5fbb496818
Improve wall axis decorator.
...
- Blue: base
- White: side
- Green: reference
- Arrow: direction
See: https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcMaterialLayerSetUsage.htm
2025-01-24 16:46:03 -03:00
Bruno Perdigão
8b3bf8200f
Add wall and slab regeneration when editing layer set usage, after 755d178b6b
2025-01-24 16:36:24 -03:00
Andrej730
fbab13339c
set_material_name to prevent triggering name callback if it's not necessary
2025-01-24 18:45:14 +05:00
Andrej730
57150e9f63
deprecate style.edit_presentation_style listener
2025-01-24 18:45:14 +05:00
Andrej730
e4ded8c477
Fix editing IfcSurfaceStyle attributes
...
Apparently it was broken for a while now...
2025-01-24 18:45:14 +05:00
Andrej730
d21c24b070
Bonsai - support editing IfcPresentationLayerWithStyle attributes
...
Example - https://imgur.com/a/JRs8RZm
2025-01-24 18:45:13 +05:00
Andrej730
e3ea12a517
Reuse export_attributes for layers, groups, constraints, classifications
2025-01-24 18:45:13 +05:00
Andrej730
60f8044820
Support adding IfcPresentationLayerWithStyle from UI
...
Example - https://i.imgur.com/0mssU2s.png
2025-01-24 18:45:13 +05:00
Andrej730
d5b1b6f66a
Reuse draw_attributes for groups, layers, structures and systems
2025-01-24 18:45:13 +05:00
Andrej730
f3fc55f246
Change <logical> primitive data type from bool to enum
...
As it also has a third value "UNKNOWN" which has it's own meanig in IFC and therefore IfcLogical cannot be represented by simple booleans.
Example in Bonsai - https://i.imgur.com/xuPMcwA.png
2025-01-24 18:45:13 +05:00