Andrej730
e810dc76e0
Materials UI - support showing styles assigned with IfcPresentationStyleAssignment
2024-10-04 18:45:37 +05:00
Andrej730
cab3fd266d
Materials UI - display other styles assigned to material besides IfcSurfaceStyle
2024-10-04 18:45:37 +05:00
Andrej730
62aef09bc7
Fix UI issue when material styles were not reflecting active material #5447
...
It was reflecting active material but it was only updated when ifc UI data was refreshed (usually after some IFC operators), now it should be always up to date.
2024-10-04 18:45:37 +05:00
Andrej730
2626968a05
materials ui - reuse Material.get_active_material_item
2024-10-04 18:45:37 +05:00
Andrej730
0e6479b090
Show all available styles editing material styles #5525
...
Previously it would fail e.g. if IfcFillAreaStyle was already assigned to the material but UI was showing errors because enum items contained only surface styles.
2024-10-04 18:45:37 +05:00
Andrej730
7b0a792ff7
bim.merge_identical_objects to support merging IfcMaterials
2024-10-04 18:45:36 +05:00
Andrej730
944e9c45ac
black .
2024-10-04 18:45:36 +05:00
tim
99b1f5ec45
Tool header and side panel improvements ( #5500 )
...
* Conditions added to show Edit vs Create for each Tool
* Void conditions revised
Apply Voids now only show when number of selected objects ==2, and one of them is a void
* Conditions added to show create vs edit for each tool
example: to edit a wall -> the wall tool must be the active tool and a wall must be selected, to add a wall -> the wall tool must be the active tool and a wall must not be selected
* Extend wall to slab icons added
dark and light mode versions added
* Reset vertex icons added
dark and light mode version added
* Type Manager Preview added
---------
Co-authored-by: tim <tjrhyder@gmail.com >
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2024-10-04 11:02:39 +10:00
Andrej730
3b71d00508
merge_identical_objects - temporarily replace get_info_2 with get_info
2024-10-03 18:37:56 +05:00
Andrej730
c3e4ebd996
bim.merge_identical_objects for merging identical styles
...
Button location - https://i.imgur.com/3O8gHUn.png
Could also be used as a temporary workaround for #5446
2024-10-03 17:15:34 +05:00
Andrej730
be9c9b2caa
fix missing assert statements
2024-10-03 17:15:34 +05:00
Andrej730
306a269061
bim.unlink_style - make it more safe
...
Even if user decide not to delete style during unlinking, we will create a material copy and relink style to it, so it will be safe to assume that each surface style is always linked to blender material.
2024-10-03 17:15:34 +05:00
Andrej730
3a9598a9d9
bonsai - bim.append_library_element option to skip reusing materials by name
...
Example - https://imgur.com/PsAPugJ
2024-10-02 18:33:31 +05:00
Andrej730
35f53232b6
typing
2024-10-01 18:08:03 +05:00
Gorgious56
3978226b65
#5514 : Add information as to where to unlock elements in the error tooltip when trying to edit, delelete or move a locked object. Also fix active object / selection discrepancies
2024-10-01 14:14:48 +02:00
Andrej730
c3a6d28927
avoid writing to ifc loading ui elements
2024-10-01 16:50:17 +05:00
Andrej730
0ca3837fc2
update object name changing name from spatial manager #5449
2024-10-01 16:50:13 +05:00
Gorgious56
c96c661394
By default the "Select container" button in the spatial decomposition panel clears current selection before selecting the container. Shift + Click adds the container to selection, ALT + Click removes the container from selection. Added tooltip to the button for keypresses.
2024-10-01 13:38:20 +02:00
Andrej730
a4ac71f9f7
Replace freestyle extension warning with poll message #5472
2024-10-01 16:23:13 +05:00
Andrej730
55726b3d50
bonsai - fix breaking ui after style is removed
...
not sure when this one occurred but ui was breaking since ui blender items were still referring to the deleted ids
2024-10-01 15:38:45 +05:00
Andrej730
f4165d4149
bonsai - fix error removing non-linked styles
...
including non-ifcsurfacestyle ifcpresentationstyles
2024-10-01 15:38:45 +05:00
Andrej730
7133b01b76
Count styles based on the current stype type #5462
...
Previously it was showing number of all IfcPresentationStyles
2024-10-01 15:38:45 +05:00
Andrej730
616a8882d9
bim.load_style - avoid writing to ifc every time
2024-10-01 15:38:45 +05:00
Andrej730
e6e6bd841c
project.operator - use pathlib
2024-10-01 15:38:45 +05:00
Andrej730
45ae7634a8
select linked model object when it's loaded
2024-10-01 15:38:45 +05:00
Andrej730
b67be01590
Operator to select link handle
...
Example - https://imgchest.com/p/md7oxbze97p
2024-10-01 15:38:44 +05:00
Andrej730
06a2c5bf0b
Fix linked model decorator not moving for moved linked models ( be68a8fdde)
2024-10-01 15:38:44 +05:00
Dion Moult
79b1388e44
Remove Shift-P hotkey
2024-10-01 19:11:40 +10:00
Dion Moult
53765222d6
See #4915 . Experimental code for polyhedron without holes
2024-10-01 19:11:08 +10:00
Bruno Perdigão
665afc0375
Wall preview decorator now show tris.
2024-09-30 18:25:09 -03:00
Bruno Perdigão
5129d2016e
Fix rebase conflicts
2024-09-30 13:15:19 -03:00
Andrej730
5d83c49fe0
fix saving clash results to bcf #5377
2024-09-30 16:02:52 +05:00
Andrej730
3ad58aba7a
ifcclash typing
2024-09-30 16:02:52 +05:00
Andrej730
9131804e4e
black .
2024-09-30 16:02:52 +05:00
Dion Moult
af7bdf6b9f
Deprecate type_class in favour of new simpler type manager workflow
2024-09-30 14:04:03 +10:00
Dion Moult
8a0e87b8f8
Start cleaning up type manager to serve its new purpose as a fancy dropdown
2024-09-29 22:39:21 +10:00
Dion Moult
1bcc7199f6
Redesign BIM tool to have mutually exclusive add/edit modes.
2024-09-29 21:20:17 +10:00
Dion Moult
275d615d42
Shift-A now triggers the wall polyline tool for all LAYER2 elements
2024-09-29 18:11:08 +10:00
Dion Moult
905044f0d7
Shift-A in BIM tools now lets you pick a point interactively. No more 3D cursor requirement.
...
Still incomplete, but the goal is to not require a "huh?" moment for new users who have no idea what a 3D cursor is.
2024-09-29 17:11:32 +10:00
Daniel Bo Olesen
2eecda17e4
Minor updates
...
Added a debug and run script to the documentation section. Added a tip and clarifies how to roll back to a previous version, when running unstable release.
2024-09-28 21:48:56 +10:00
Daniel Bo Olesen
c45b4372a8
Update writing_docs.rst
...
Some additions on how to get the local server up and running
2024-09-28 21:48:56 +10:00
Dion Moult
5bb40111c1
Pop up add menu in item mode
2024-09-28 21:22:57 +10:00
Dion Moult
faa94eb636
Fix #5466 . Support duplicating representation items
2024-09-28 19:39:29 +10:00
Dion Moult
2a6616707c
Remove random debug print statements
2024-09-28 17:45:32 +10:00
Dion Moult
d1c430cd4d
Show clipping plane in front to make it easy to select
2024-09-28 17:35:06 +10:00
Dion Moult
a5e6539ddf
Support joining representation items
2024-09-28 17:35:06 +10:00
Dion Moult
7bc4b5100b
Support separating representation items
2024-09-28 17:35:06 +10:00
Bruno Perdigão
8d08d358af
Measure tool persists on screen and can be snapped.
...
The user has an option to clean previous measurements polylines by pressing "E" while using the measure tool.
2024-09-27 16:48:28 -03:00
Andrej730
be68a8fdde
Support for moving/rotating/scaling for linked models
...
Example - https://imgchest.com/p/lqye6da2z4d
2024-09-27 19:06:31 +05:00
Andrej730
400ebf2efb
bim.append_inspected_linked_element to ensure linked file schema is compatible
2024-09-27 19:06:31 +05:00