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 >
bonsai-0.8.1-alpha241004
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
bonsai-0.8.1-alpha241003
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
392b458563
ifcopenshell.util.element.replace_element
2024-10-03 17:15:34 +05:00
Andrej730
8ae951d27a
get_info_2 to support excluding identifier
2024-10-03 17:15:33 +05:00
Andrej730
770e25dbc2
typing
2024-10-03 17:15:33 +05:00
Thomas Krijnen
2c08cff67b
Make sure $ chars in TTL are only enclosed in <IRI> not shortened postfixes"
2024-10-03 10:30:53 +02:00
Thomas Krijnen
83c40c7fb4
Don't try to install directories as files (some change in recent cmake?)
2024-10-03 10:30:53 +02:00
Thomas Krijnen
3b9c1d88c8
Handle missing placement location gracefully #5528
2024-10-03 10:30:53 +02:00
Tyler Kvochick
040aec3e52
Derive docker tags from git refs
2024-10-02 17:28:12 +02:00
Thomas Krijnen
8f443a79f3
Merge pull request #5184 from csritter/v0.8.0
...
Adding --surface-colour in conversion settings to force the use of surface color instead of diffuse color. Issue #5075
2024-10-02 17:24:34 +02: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
104b6f5564
append_asset option to avoid assuming unique names for assets #5391
2024-10-02 18:33:31 +05:00
smr02
d5fddd5f1b
https://github.com/IfcOpenShell/IfcOpenShell/issues/5511#issuecomment-2388073735
bonsai-0.8.1-alpha241002
2024-10-02 15:28:58 +02:00
Thomas Krijnen
99ae69f1e4
Don't estimate normal from collinear edges in TTL serializer
2024-10-02 11:12:23 +02:00
Thomas Krijnen
b700c5e448
Don't escape $ in TTL output
2024-10-02 11:12:23 +02:00
Andrej730
2a9301ead2
project.append_asset - slight optimization for existing elements search
2024-10-01 18:08:03 +05:00
Andrej730
315d3c6437
ifcopenshell.file.to_string
2024-10-01 18:08:03 +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
f63a7d420e
style.remove_style to handle IfcFillAreaStyles
2024-10-01 15:38:46 +05:00
Andrej730
19f1c87437
style.remove_style to handle IfcFillAreaStyleHatching
2024-10-01 15:38:46 +05:00
Andrej730
4b39631b98
get_element_by_style to support IfcFillAreaStyleTiles
2024-10-01 15:38:46 +05:00
Andrej730
e040dc4562
get_elements_by_style to support curve styles used in IfcFillAreaStyleHatching
2024-10-01 15:38:45 +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
b7c390585b
ios - fix error removing other IfcPresentationStyles
...
besides IfcSurfaceStyle
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
bonsai-0.8.1-alpha241001
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