Commit Graph

9672 Commits

Author SHA1 Message Date
Dirk Olbrich 8a218249dd bbim-docs: use figure with caption instead of plain image 2024-04-16 11:10:58 +02:00
Dirk Olbrich 76f25c755b bbim-docs: update workspace doc for sidebar panels 2024-04-16 11:10:58 +02:00
Dion Moult 401db55c55 Implement support for managing nest hosts and components. 2024-04-16 11:10:58 +02:00
Bruno Perdigão 302dc8eb9f added report messages 2024-04-16 11:10:58 +02:00
Bruno Perdigão 2fb8fafbb4 added the option to refresh different groups of linked aggregate 2024-04-16 11:10:58 +02:00
Bruno Perdigão f859c06858 bugfix in recreate_aggregate 2024-04-16 11:10:58 +02:00
Bruno Perdigão b2cb907599 Refresh Linked Aggregate now handles multiple selection 2024-04-16 11:10:58 +02:00
Bruno Perdigão 172ea49e30 merged the branch 'improvements-on-override-duplicat' 2024-04-16 11:10:58 +02:00
Bruno Perdigão 1d51244205 moved 'recreate_assembly' to tool/root.py 2024-04-16 11:10:58 +02:00
Bruno Perdigão e25948bd03 added more tests 2024-04-16 11:10:58 +02:00
Bruno Perdigão b21b0751fa added test scenario for duplicating an aggregate 2024-04-16 11:10:58 +02:00
Bruno Perdigão 3569780f06 recreates assembly for array children objects 2024-04-16 11:10:58 +02:00
Bruno Perdigão 4d2b2ae5d2 Duplication now recreates connections path #3770 2024-04-16 11:10:58 +02:00
Bruno Perdigão e5a6e0f761 small deletions 2024-04-16 11:10:58 +02:00
Bruno Perdigão 1366c3bed9 ifc_duplicate_operator now remove the connections with old objects. Similar solutions presented in PR #3789 2024-04-16 11:10:58 +02:00
Bruno Perdigão 55962692bb Fix #2187. ifc_duplicate_operator now recreates the IfcElementAssembly structure into a new Assembly 2024-04-16 11:10:58 +02:00
Bruno Perdigão d1eddb751b Groups are only added to the parent. Parts now have a pset with index 2024-04-16 11:10:58 +02:00
Bruno Perdigão 5381bf7e48 removed the pset and added group to all elements 2024-04-16 11:10:58 +02:00
Bruno Perdigão 60046ee93d improvements on dealing with sub-aggregates 2024-04-16 11:10:58 +02:00
Bruno Perdigão f244f46980 wip: RefreshLinkedAggregate is working with IfcGroup 2024-04-16 11:10:58 +02:00
Bruno Perdigão 25a4f26ffe wip: refactor of RefreshLinkedAggregate. The operator triggers all the other linked aggregates deletion. 2024-04-16 11:10:58 +02:00
Bruno Perdigão 8d02d1d5fc IfcElementAssembly share a group instead of a pset 2024-04-16 11:10:58 +02:00
Bruno Perdigão 70bad12d82 Changed operator name 2024-04-16 11:10:58 +02:00
Bruno Perdigão 8bb5ac3542 wip: DuplicateMoveAggregate now calls DuplicateMove function and removes code duplication 2024-04-16 11:10:58 +02:00
Dion Moult ecc0e85c50 Fix #4076. Fix bug where drawing activation priorities didn't match drawing generation priorities, and switching to a text literal representation failed. 2024-04-16 11:10:58 +02:00
Dion Moult a70d1ac1ca Fix #4078. Bug in IfcTester that didn't allow certain facets to be used as applicabilities. Also canonicalise facet ordering for convenience. 2024-04-16 11:10:58 +02:00
Dion Moult 298363c175 Fix bug in TessellateElements patch recipe where sometimes the patch would run forever. 2024-04-16 11:10:58 +02:00
Dion Moult 325e8751c5 Run black on cityjson2ifc 2024-04-16 11:10:58 +02:00
Dion Moult 5e4a0f2577 Fix two minor bugs in cityjson2ifc 2024-04-16 11:10:58 +02:00
Andrej730 670cf33ec9 fixed couple styles ui bugs
1) it was failing adding a new IfcSurfaceStyle if surface_style_class != Shading/Render as surface_style was not defined

2) It was never creating render material as IfcSurfaceStyleRendering class is a child of IfcSurfaceStyleShading and if statement never got to the is_a("IfcSurfaceStyleRendering") check
2024-04-16 11:10:58 +02:00
Andrej730 fe9ad74fd5 Use paths relative to .ifc instead of .blend choosing texture paths
Texture path file dialog is also filtering image files now.

Removed subtype from `FILE_PATH` from all related props since `layout.prop()` for those props starts file dialog that cannot return path relative to .ifc. It can return path relative to .blend - though it can be processed in props update to convert to relative to .ifc, this doesn't allow setting relative paths if .blend is not saved. Therefore, I've created a separate operator.

add
2024-04-16 11:10:58 +02:00
Andrej730 67ef292b85 Store reference images by relative paths #3447 2024-04-16 11:10:58 +02:00
Andrej730 44c05ce71d Fix normals for generic parametric stairs #4020
Also made concrete stair normals defined more explicitly.
2024-04-16 11:10:57 +02:00
Massimo Fabbro 5dc6c736ec fix #3834. Now clone opening produces valid IFC files 2024-04-16 11:10:57 +02:00
Dion Moult b9f33e06bd Fix #4072. IDS reports now include filename. 2024-04-16 11:10:57 +02:00
Dion Moult 31e912cf12 Fix #4073. Objects with no applicable context for the drawing view are now hidden. 2024-04-16 11:10:57 +02:00
Bruno Postle 0735dbd92b BlenderBIM IFC Git allow branch creation from HEAD
Previously you could only create branches by checking out an older
revision, making changes and committing it. This was an annoyance as
typically you are making changes to the HEAD of a branch, then you
realise this should have been a branch - now you can create the branch
on commit (#3096)
2024-04-16 11:10:57 +02:00
Ryan Schultz 24dfa57831 allow SI with CAD tools. 2024-04-16 11:10:57 +02:00
Bruno Postle 1f4c2e0989 BlenderBIM IFC Git fix typo in function name 2024-04-16 11:10:57 +02:00
Thomas Krijnen 4f64b658b0 don't fail on null guid for rooted element deletion #2796 2024-04-16 11:10:44 +02:00
Andrej730 c3d24c76f2 Reference images attached to the drawings #3447
You can also save them as annotation types.
Example - https://imgur.com/a/6trT7SZ
2024-04-16 11:09:32 +02:00
Andrej730 a0ae28c05b bim.update_representation to save non-body representations styles #3447 2024-04-16 11:09:32 +02:00
Andrej730 505b95d8cd Fixed issue importing drawing's IfcAnnotations with styles #3447 2024-04-16 11:09:32 +02:00
Andrej730 64c3550378 fix poll errors 2024-04-16 11:09:32 +02:00
Andrej730 35cfea5bd7 Revert "Minor fix - remove redundant code"
This reverts commit 7828508179.

Turned out when I was assuming `bim.add_style` is assigning the style but it wasn't, it was `bim.update_representation` on the file save. So basically during the session style wasn't assigned, therefore I added back explicit style assignment. 😬
2024-04-16 11:09:32 +02:00
Andrej730 661d6bcfe7 fixed typo 2024-04-16 11:09:32 +02:00
Thomas Krijnen f50509d2d4 occ_utils.py - #1037 2024-04-16 11:09:32 +02:00
MicheleBenedetti aa33148fe5 mistype-fix 2024-04-16 11:09:32 +02:00
Andrej730 e51d2daf64 Fixed issues applying arrays
because pset wasn't removed BBIM was recognizing those elements as parts of an array resulting in issues during deletion and duplication. This issue is a regression after ec4f0e5, the root problem was that `keep_objs` wasn't working with `sync_children`.

Since `keep_objs` was used only for applying array layers I've replaced it with `array_layers_to_apply` that works for both `sync_children` = True and False.

https://community.osarch.org/discussion/1831/duplicating-failed-for-array-items-after-apply-array
2024-04-16 11:09:32 +02:00
Andrej730 4fa634cf5c Minor fix - remove redundant code
style assignment was already done by `bim.add_style`
2024-04-16 11:09:32 +02:00