Commit Graph

8520 Commits

Author SHA1 Message Date
Dion Moult 13075dcae4 See #3126 and 5b4010c. Fix failing tests, and allow schema_by_name to follow the same schema_version distinction as file. 2024-04-15 13:30:41 +02:00
Andrej730 236581baa3 w-type US steel profiles #3203 2024-04-15 13:30:41 +02:00
Dion Moult e8d6f122f3 See #3126. Forgot to commit tests related to explicit schema versions. 2024-04-15 13:30:41 +02:00
Thomas Krijnen 22ffd3d2b7 Update win32 download links installation.rst 2024-04-15 13:30:41 +02:00
Thomas Krijnen 26d0f98cd9 #3359 return early in case of no-prefiltering 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 e9d12d5e31 Fix #3126. Implement mapping from IFC4X3 to IFC4X3_ADD1 and explicit version identifiers in ifcopenshell.file 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
Dion Moult f1e3fb38ad See #3334. Fix some get_pset implementation errors in 64516a1 2024-04-15 13:30:40 +02:00
OrionSehn 0f6e934ca8 Proposed fix to #3352 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 bd70f7bf7f add_representation - detect non consequtive curves and handle them
Basically if current mesh curve is non consequtive we handle it in similar way to b03c4da7b - convert it to curves using Blender and then save them to ifc.

The advantage is that it creates less curves in ifc because mesh method wasn't able to detect separate curves correctly if vertex order was messed up (usually it is) and it would create separate curve for each curve segment.

I've also replaced figuring vertex duplicates with `bmesh.ops.remove_doubles` manually with `bmesh.ops.remove_doubles` and it's now much faster. In some cases because of the manual calculations it was taking too long - in #3233 Ryan mentiones that it freezes blender, it wasn't really freezing Blender but to finish calculations it would take 10 minutes.
2024-04-15 13:30:40 +02:00
Dion Moult d81e64f7a2 See #3376. Bump updated build of IfcSverchok. 2024-04-15 13:30:40 +02:00
Dion Moult 00ccb77f86 Merge AWS Lambda installation documentation into official docs 2024-04-15 13:30:40 +02:00
Dion Moult 5dd9a24647 Whoops 2024-04-15 13:30:40 +02:00
Dion Moult d435152904 Close #3377. Implement xyz coordinates for COBie object placement. 2024-04-15 13:30:40 +02:00
Dion Moult 5840b1770e Write IfcOpenShell documentation for geometry trees. 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
Dion Moult ce8a9293bb See #3334. Optimise pset getting and add simple "broadphase" filtering for all facets for faster validation. 2024-04-15 13:30:40 +02:00
Dion Moult b8e2e693f1 Fix bug where IfcTester would pass derived attribute facets.
Now that IfcOpenShell supports derived attributes, we need to explicitly make sure the attribute facet only considers forward attributes.
2024-04-15 13:30:40 +02:00
Dion Moult 9af7ddaf56 See #3334. Fix bug where get_pset didn't handle property inheritance correctly. 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
Andrej730 5a5e1e9892 disable chaching sound running the bim tests
to save someone's ears (probably mine 😁) from running 10 chaching sounds per second
2024-04-15 13:30:40 +02:00
Dion Moult 4845242769 Fix #3366. Fix crash in IfcDiff if you are comparing a model with no geometry. 2024-04-15 13:30:40 +02:00