Commit Graph

2621 Commits

Author SHA1 Message Date
Bruno Perdigão a4c90d8b53 implementation of #3332 2024-04-16 10:05:07 +02:00
Dion Moult 02bca5a622 Fix #3402. Activate drawing no longer affects the visibility of non-IFC objects. 2024-04-16 10:05:07 +02:00
Dion Moult 8977d37ccd Fix #3403. Templates must be specific to the version you are creating. 2024-04-16 10:05:07 +02:00
Dion Moult 8c1214e8c4 Start mocking up our own property "tabs" with the intention to use this new tab system instead of Blender property tabs
Blender property tabs are hardcoded and we cannot customise them. IFC data only "somewhat" maps to Blender property tabs, and some things fail to map causing user confusion. For example material and styles are very confusing. Also scene and object properties are crazy overpopulated (see how many times IFCArchitect bulk collapses things). And this also causes things to be spread out and lost (e.g. some random panels in viewport N menu). This should give us a lot more control to organise panels exactly how we want them.
2024-04-16 10:05:07 +02:00
Dion Moult 387bf6aa58 Workspace inspired by IFCArchitect's layout is now setup by default and irrelevant Blender scene panels are hidden. You can disable this behaviour for advanced users, or use your own workspace layout but at least now there is a better "BIM-optimised" layout.
The layout uses three columns with a focus on a larger outliner (important as BIM models have lots of objects and complex hierarchies!) and properties, and removes the mostly irrelevant timeline for beginners.
2024-04-16 10:05:07 +02:00
Dion Moult 44ff5b12cd You can now create, open, and save projects from the file menu, with simple project presets. Also the scene is cleared so no more manual cube / light / camera deletion. Also poll prior to saving. No more import / export menu to confuse users.
https://imgur.com/a/EIt2H5b
2024-04-16 10:05:07 +02:00
Dion Moult 8e053de4e5 Delete old annotation panel in favour of annotation tool 2024-04-16 10:05:07 +02:00
luzpaz 1819a45e4c Fix various typos in src/ifcgeom* subdirs 2024-04-16 10:05:04 +02:00
Dion Moult bb7a73feac Fix #3394. Fix bug where railing and roof type names were hardcoded. Also improve UI of create type form so you can actually read the fields. 2024-04-15 13:30:42 +02:00
Dion Moult cb412c78b5 Fix #3213. Internally, we should always use Unix path separators. 2024-04-15 13:30:42 +02:00
Dion Moult c45b28e78a Fix #3016. Drawing styles that set the shading style will change shading style upon activating the style. 2024-04-15 13:30:42 +02:00
Trashman247 73d2146a6c Remove binding namespace new project (already in schema) 2024-04-15 13:30:41 +02:00
Trashman247 0c5a8bea4e remove import BrickStore in props 2024-04-15 13:30:41 +02:00
Trashman247 301800d8ed Add brick operator accepts label parameter & add toggle for namespace editing 2024-04-15 13:30:41 +02:00
Trashman247 a28b8c1cd4 Add filter to listed namespaces (need add more aliases) 2024-04-15 13:30:41 +02:00
Trashman247 79e9bef565 Double space core functions and clear brick browser on project close 2024-04-15 13:30:41 +02:00
Trashman247 8b2fae4369 Separate serialize into "save" and "save as" with file selection 2024-04-15 13:30:41 +02:00
Sigma Dimensions 676c96c6e2 Georeferencing utility to convert an angle in degrees to X Axis Abscissa and Ordinate 2024-04-15 13:30:41 +02:00
Andrej730 236581baa3 w-type US steel profiles #3203 2024-04-15 13:30:41 +02:00
Andrej730 8f6f03cd27 fill-bg support for dimensions #3387
Example - https://i.imgur.com/lvJwtDI.png
works the same way as for text by adding "fill-bg" to EPset_Annotation.Classes
2024-04-15 13:30:41 +02:00
Dion Moult 54492e3769 Fix #3383. Disallow any extrusion angles >=90 which are invalid. 2024-04-15 13:30:41 +02:00
Dion Moult 1c739dfa55 Test all shapes in the debug panel now also attempts 2D checks to prevent false positives. 2024-04-15 13:30:41 +02:00
Dion Moult 6d37104280 Revert "More descriptive RuntimeError: Failed to process shape #3383"
This reverts commit 1542217117.
2024-04-15 13:30:41 +02:00
Andrej730 6f9c9d1032 More descriptive RuntimeError: Failed to process shape #3383
Example of the new error - https://i.imgur.com/0FMQw5V.png
2024-04-15 13:30:41 +02:00
Dion Moult 814bec11e9 Fix #3386. 2024-04-15 13:30:41 +02:00
Dion Moult 69e650cc50 Fix #3349. Allow inserting a filling into an uncontained building element. 2024-04-15 13:30:41 +02:00
Bruno Perdigão 7d56f91aa0 fix #3063 2024-04-15 13:30:41 +02:00
Dion Moult 8ba976078b Fix #3382. Minor regression in wall join refactor from d64c135 2024-04-15 13:30:41 +02:00
Sigma Dimensions 3e2a509793 fix #3385 - renaming grids with "F2" 2024-04-15 13:30:41 +02:00
Bruno Perdigão 1486dc26e6 minor fix 2024-04-15 13:30:41 +02:00
Bruno Perdigão 72b2cf626f bugfix and alt+click functionality 2024-04-15 13:30:41 +02:00
Bruno Perdigão 4be1fa7632 implements #3268 2024-04-15 13:30:41 +02:00
Andrej730 e792471725 Moving editing roof and railing paths hotkey from Shift+E/Q to Tab 2024-04-15 13:30:41 +02:00
Andrej730 444166b37c Fix #3263 2024-04-15 13:30:41 +02:00
Andrej730 7a91b3d153 railing modifiers - fixing normals for frameless_panel #3277 2024-04-15 13:30:41 +02:00
Dion Moult 200aeb896d See #3359. Bump IfcOpenShell and enable HLR prefiltering optimisation for drawing generation 2024-04-15 13:30:41 +02:00
Andrej730 20d19bfcba type selection error #3318
if you switch ifc_class then relating_type_id can become invalid and we wasn't taking it into account

Also fixed bunch of warning like `pyrna_enum_to_py: current value '17' matches no enum in 'BIMModelProperties', '', 'relating_type_id'`` when some ifc_class has N related types and then you switch to other ifc_class that has less than N related types.
2024-04-15 13:30:40 +02:00
Andrej730 461eeba9ff Revert "enable activating object type when trying to select type from an object ( whilst the type is hidden from view layer)"
This reverts commit 4bc987924d since there was some unintentional changes.

Now when you use select_type in object properties - ifc class and related type gets selected in the BIM Tool  - https://i.imgur.com/drIHYDz.png

#3318
2024-04-15 13:30:40 +02:00
Andrej730 5b10923b45 ShapeBuilder.polyline - skip creating segments if they are not needed 2024-04-15 13:30:40 +02:00
Dion Moult 4efe780df7 Fix #3356. Include version info in status bar for debugging and new copy debug info button to help bugreporting. 2024-04-15 13:30:40 +02:00
Dion Moult a5579d1d69 Fix #3256. Support file profiles made out of multiple representation items. 2024-04-15 13:30:40 +02:00
Andrej730 1109d4cc51 Sync ifc class in BIM Tool and Type Manager
It's seems it would be better for ux if they will be connected
2024-04-15 13:30:40 +02:00
Andrej730 33d3afc35d experimental support for spline curves representation #3233
there is still no full support but as a workaround I've added blender converting curves to meshes and back to curves so we could preserve the actual shapes

before - https://i.imgur.com/9F542Iy.png
after - https://i.imgur.com/t58RlkF.png
2024-04-15 13:30:40 +02:00
c4rlosdias 31a6049eb6 Add extra formats to output file 2024-04-15 13:30:40 +02:00
Andrej730 5474d0f56a Prevent crash on attempt to link the current .blend file 2024-04-15 13:30:40 +02:00
Andrej730 d57e152c7d Storing external styles paths as posix for cross platform compatibility
Also it was wrongly referring to .blend file instead of .ifc to generate relative paths.
2024-04-15 13:30:40 +02:00
Andrej730 3fa5679bd7 disable default vebose mode for getting shader attribute to prevent spam 2024-04-15 13:30:40 +02:00
Andrej730 5ce7abbda0 adding default ifc objects added from shift-a menu to the current collection 2024-04-15 13:30:40 +02:00
Andrej730 1b39f243eb Editiing arbitrary profile without enabling editing profile
It was a bit confusing UX since when you finish editing arbitrary profile path the data is already saved in ifc but you were still in editing profile properties
2024-04-15 13:30:40 +02:00
Andrej730 9864f7d19e Update type manager thumbnails on editing profiles
Example - https://imgur.com/a/IcV8IIR
2024-04-15 13:30:40 +02:00