Commit Graph

3116 Commits

Author SHA1 Message Date
Massimo Fabbro 4ed901204e Partial spatial tool refactor 2024-04-16 10:37:16 +02:00
Andrej730 ed9e45bb7d For parametric doors and windows remove "Edit Profile" button from BIM Tool UI to avoid confusion 2024-04-16 10:37:16 +02:00
Andrej730 484758e564 Add starting/saving IFC project to Blender F4 file context menu
https://i.imgur.com/FDvZZwc.png
2024-04-16 10:37:15 +02:00
Andrej730 37f1f6d125 MEP bends - fixed bunch of bugs related to adjusting already existing bends types 2024-04-16 10:37:15 +02:00
Dion Moult 6b15b08835 Project advanced mode filtering now uses new filter syntax 2024-04-16 10:37:15 +02:00
Andrej730 54dcf75a7e Ooops, forgot to remove debug shape creation 2024-04-16 10:37:15 +02:00
Andrej730 9e667013a3 transitions - fixed bug finding compatible fitting
For example, there was a fitting from segment of type A to the segment of type B with start/end transition lengths equal a/b respectively.
And then if you'd try to create a transition from B to A and start/end transition lengths being equal to b/a, previously BBIM wouldn't be able to find that already existing fitting is still compatible.
2024-04-16 10:37:15 +02:00
Andrej730 72d5350b83 mep operators - clamp properties below zero 2024-04-16 10:37:15 +02:00
Dion Moult 7f968d6eab IfcDiff can now visualise across linked IFCs 2024-04-16 10:37:15 +02:00
Andrej730 fe99b59209 Fixed bug using tab editing arbitrary profile
It was assuming we were editing extrusion profile and therefore was giving errors.
2024-04-16 10:37:15 +02:00
Andrej730 f1184e6182 Revert "Replace currently selected objects with occurences of type"
This reverts commit 58199ef7c9.
2024-04-16 10:37:15 +02:00
Andrej730 4b48b30c3b bends - consider profile dimensions searching for compatible fitting
So basically now it won't reuse a bend fitting created for the same profile but with different dimension.
2024-04-16 10:37:15 +02:00
Andrej730 37eb1751b4 bends - adjusting compatible fitting rotation to match the segments
Demo - https://imgur.com/a/cYdWy9X (note that no bend types created in the process - it's just adjusting the type created for the first two segments).
2024-04-16 10:37:15 +02:00
Andrej730 14aa32b04a Replace currently selected objects with occurences of type
Added operator to replace currently selected objects with occurences of the chosen type. I kept doing this from the code and thought it could be generally useful.

It's working pretty naive now and just replacing objects with occurences preserving the original transform (location/rotation/scale), nothing else is preserved.

Demo - https://imgur.com/a/qm8a6Ns

PS Hopefully I'm not reinventing the wheel and not missed some other similar operator
2024-04-16 10:37:15 +02:00
Andrej730 fc2aa41717 bends - considering parametric data searching for compatible fitting 2024-04-16 10:37:15 +02:00
Dion Moult e04b69717b New FM module in BlenderBIM Add-on for interacting with IfcFM. 2024-04-16 10:37:15 +02:00
Andrej730 e7b6fad348 bends - support for start and end segments 2024-04-16 10:37:15 +02:00
Andrej730 959f05d154 shapebuilder - replace y extrusion args with shortcut for readibility 2024-04-16 10:37:15 +02:00
Andrej730 5180f40245 MEP bends - support for circular profiles
Demo - https://imgur.com/a/XQBOvGz
2024-04-16 10:37:15 +02:00
Andrej730 afeca7d598 Fixed top and center alignment in the schedule
Solves #3599

Before - https://i.imgur.com/9s7MxH5.png
After - https://i.imgur.com/ojDj09G.png
Inkscape - https://i.imgur.com/pWF4Ouy.png
2024-04-16 10:34:30 +02:00
Andrej730 315e8a436a MEP bends - more robust start/end points detection
also support for bends with angles > 90 degrees and some other bugs fixed
2024-04-16 10:34:30 +02:00
Dion Moult 2474b238a8 Deprecate purge_module_data in favour of newer refresh_ui_data function. 2024-04-16 10:34:30 +02:00
Dion Moult 913ccd9289 Improve usability of pset template UI by removing save button and using new explicit applicable entity defaults to mitigate possible invalid pset templates. 2024-04-16 10:34:30 +02:00
Dion Moult d39df4a933 Minor UI bugfix where pset template files sometimes displayed with truncated filenames 2024-04-16 10:34:30 +02:00
Dion Moult 607e367448 Fix bug where you couldn't add psets that were inherited. 2024-04-16 10:34:30 +02:00
Andrej730 12c1d7991a Spatial Manager - try to preserve the selection on loading the manager
Also noticed in Sigma Dimensions video that every time user deletes a storey or applies new elevation the selection was jumping to the first storey. Now it's going to be more natural.

Before - https://imgur.com/a/gbn7ryQ
After - https://imgur.com/a/QX2RulF
2024-04-16 10:34:30 +02:00
Andrej730 6700270600 Units formatting for Spatial Manager
Noticed in Sigma Dimensions video that we have some floating point garbage displayed in the Spatial Manager UI and I've added some simple formatting.

Now - https://i.imgur.com/eM1rDDu.png
Before - https://i.imgur.com/ySln5uU.png
2024-04-16 10:34:29 +02:00
Andrej730 602ec57cba Considering parametric data for fitting #3695
Search for compatible fitting wasn't taking into account that maybe fitting used for the same segments but fitting's parameters are not the same (such as start_length, end_length, angle and offset between profiles).

I also forgot to promote transition angle to operator's property😬
2024-04-16 10:34:29 +02:00
Andrej730 08ace6616c automatically adjust viewport camera on loading ifc
It will make sure you'll be able to see the project's elements in viewport when it's loaded (same way as if you'd select all objects and hit "Numpad .").

Couldn't find any way to make it work without enablging / disabling selection - https://projects.blender.org/blender/blender/issues/112141
2024-04-16 10:34:29 +02:00
Andrej730 b5c80ebaab Fixed issue using mitre with small angles between walls (#3721)
Normalization is unrelated, just added to be safe.
2024-04-16 10:34:29 +02:00
Andrej730 ee4568b7d2 some DumbWallJoiner.join() refactor 2024-04-16 10:34:29 +02:00
Dion Moult 271161f00f Minor fix after 6887210 2024-04-16 10:34:29 +02:00
Dion Moult 01c1023af2 Fix bug when casting to tessellation for invalid IFCs which don't use material sets properly. 2024-04-16 10:34:29 +02:00
Dion Moult 5edc6c4d8a Enable Sphinx auto section labels. Minor doc link fix. 2024-04-16 10:34:29 +02:00
Ryan Schultz fa08d9d01e Update installation.rst 2024-04-16 10:34:29 +02:00
Dion Moult 678dce8fc0 Fix bug where unedited mesh objects were still tagged as edited which led to unnecessary processing prior to drawing generation or saving. 2024-04-16 10:34:29 +02:00
Dion Moult 292194c4f6 You can now customise the display of empty strings in IfcCSV. 2024-04-16 10:34:29 +02:00
Dion Moult c4eed78ca1 Update documentation with new selector keys. 2024-04-16 10:34:29 +02:00
Dion Moult 62b2b9983f Fix #3682. You can now tag setout points with dynamic xyz / enh values. 2024-04-16 10:34:29 +02:00
Dion Moult e8b52d3d93 Drawing text annotation now use the new format functions instead of executing arbitrary code. 2024-04-16 10:34:29 +02:00
Andrej730 d5e222d8de remove the orphaned data created on object duplicate
orphaned mesh still had ifc_definition_id of the original object and could have caused issues in theory
2024-04-16 10:34:29 +02:00
Andrej730 21aad4c4f5 Update status visibility automatically #3721 2024-04-16 10:34:29 +02:00
Dion Moult 66032dd8f3 Fix #3712. Fix bug where grid axes couldn't be duplicated. 2024-04-16 10:34:28 +02:00
Andrej730 aa71025e7f hotfix for ca4efa6e5 2024-04-16 10:33:34 +02:00
Andrej730 eeb7c9b010 Remove operator's name from set_tab tooltip #3704 2024-04-16 10:33:34 +02:00
Andrej730 98503179d9 bim.mep_add_bend
Added operator to create bend fittings between objects, it's still work in progress and now it only supports rectangular profiles.

Small demo - https://imgur.com/a/vM7hnJa
2024-04-16 10:33:34 +02:00
Andrej730 3827e1d267 notify about unsupported transition case 2024-04-16 10:33:34 +02:00
Dion Moult ed9f50298c See #3700. Fix issue in drawing include filter where "addition" selections like GlobalIds and classes didn't have any impact. 2024-04-16 10:33:34 +02:00
Dion Moult e336c63005 You can now load 2D point clouds. 2024-04-16 10:30:32 +02:00
Dion Moult 59c8326c51 See #3682. You can now add symbols and multisymbols (i.e. one vertex per symbol) annotations. New default symbols for setout points in demo library. 2024-04-16 10:30:32 +02:00