Commit Graph

10371 Commits

Author SHA1 Message Date
Andrej730 9cb76a092f typing 2024-04-17 14:54:41 +02:00
M!l!nd 596e63e7e7 fixed qsets to display separately (#4423)
* fixed qsets to display separately

Signed-off-by: milinddethe15 <milinddethe15@gmail.com>

* updated data.py and run black formattor

---------

Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
2024-04-17 14:54:41 +02:00
Ryan Schultz 5bacf70727 small fix to cdd332d1ee, for clarity 2024-04-17 14:54:41 +02:00
Ryan Schultz 24e1c70d5a fixes #4434 2024-04-17 14:54:41 +02:00
Thomas Krijnen 946a21146a Add missing includes after merge resolution 2024-04-17 14:54:39 +02:00
Thomas Krijnen 8aa3b12911 Wait for threads in iterator destructor 2024-04-17 14:54:15 +02:00
Andrej730 16fa8573d3 fix error loading representation without styles
If current representation didn't had any styles, only a material and it was failing during `assign_material_slots_to_faces` since it was looking for blender material only in self.styles and not in self.materials.

Note: `assign_material_slots_to_faces` is not skipped since `parse_representations` returns `True` because other representation has a style and it's added to the materials.
2024-04-17 14:48:57 +02:00
Andrej730 5197e27b13 typing 2024-04-17 14:48:55 +02:00
Andrej730 f7f828f70c python code style docs 2024-04-17 14:46:07 +02:00
Benoit DAMAY 3f4a7e6097 removing debug print from previous commit 2024-04-17 14:46:07 +02:00
Benoit DAMAY df478f6ed7 replacing os.rename() by shutil.move in ifcpatch 2024-04-17 14:46:07 +02:00
Jordan McManus aec751b762 changed type comparison to GlobalId 2024-04-17 14:46:07 +02:00
Jordan McManus 3066404b40 changed comparison for type relationships 2024-04-17 14:46:07 +02:00
jgunstone 487c96e84f add get_properties test validating that offset and limit are correctly applied 2024-04-17 14:46:07 +02:00
jgunstone db811152b8 add limit and offset to client functions 2024-04-17 14:46:07 +02:00
Andrej730 144ef8821a fix bug after 8291a0ca6 2024-04-17 14:46:07 +02:00
Andrej730 6bb507dfc0 viewport decorations for IfcAnnotation/MULTI_SYMBOL 2024-04-17 14:46:07 +02:00
Andrej730 7ff2f56f46 common method for getting annotation symbol 2024-04-17 14:46:06 +02:00
Andrej730 6ff721f5af Indicate rotated/scaled symbols in viewport 2024-04-17 14:46:06 +02:00
Andrej730 4b634b91ac Support for rotated and scaled symbols with IfcAnnotation/SYMBOL
See: https://community.osarch.org/discussion/2027/bbim-rotation-of-ifcsymbol
2024-04-17 14:46:06 +02:00
Andrej730 fad51eb388 black format 2024-04-17 14:46:06 +02:00
Andrej730 886467dfd6 typing 2024-04-17 14:46:06 +02:00
Andrej730 914dd031bd indicate IfcText symbol rotation in viewport 2024-04-17 14:46:06 +02:00
Andrej730 dd1978d61d BBIM IfcTester - option to generate ODS report
https://i.imgur.com/0JyXVK6.png
2024-04-17 14:46:06 +02:00
Andrej730 6873c21d27 Fix #4421
1) Excluded annotations from other drawings that user might accidentally include in IfcAnnotation
2) Excluded from EPset_Drawing.Include to avoid getting there other element types besides spaces
2024-04-17 14:46:06 +02:00
Andrej730 edce320756 utils.filter_elements docs and tests 2024-04-17 14:46:06 +02:00
Andrej730 96cc24c820 typing 2024-04-17 14:46:06 +02:00
Andrej730 6eeac88e1c small fixes 2024-04-17 14:46:06 +02:00
Sigma Dimensions (Yass) bc833e43ae fix construction schedule import without IfcProject #4412 2024-04-17 14:46:06 +02:00
Andrej730 0cf8574e1f spatial.workspace - add hotkeys using add_layout_hotkey 2024-04-17 14:46:06 +02:00
Andrej730 78fb986f0b bim.decorate_boundaries to decorate all boundaries in the scene
It's added as alt+v hotkey in Spatial Tool
Now it's possible to combine it with bim.load_project_space_boundaries to show decorations for all the boundaries or to keep the boundaries after Alt+B and just disable the decorations.

example - https://imgur.com/a/ecbPz13
2024-04-17 14:46:06 +02:00
Andrej730 a265a41ebe Fix issue with drawing same boundaries multiple times
If you'd hit alt+b in space tool multiple times it would redraw them again and again instead of switching between hiding and showing.
2024-04-17 14:46:06 +02:00
Andrej730 998b4a0565 model.space.py - small fixes 2024-04-17 14:46:06 +02:00
Andrej730 8d1559b486 small fixes after d209cc9ff, added a test 2024-04-17 14:46:06 +02:00
Andrej730 9852e4fa54 BBIM - option to append occurrences from the other ifc files
Example - https://imgur.com/a/yASjbs8
2024-04-17 14:46:06 +02:00
Andrej730 38bbaa0a8f util.unit.py - black format 2024-04-17 14:46:06 +02:00
Andrej730 a4a965e7ab more typing 2024-04-17 14:46:06 +02:00
Geert Hesselink 15dd93b9fb Redundant closing symbol ' (#4413)
* scale placeangleunit

* add radian si_conversions

* return conversion value of planeangleunit

* Update unit.py

* redundant closing

* redundant closing
2024-04-17 14:46:06 +02:00
Geert Hesselink 6db45c0965 Scale placeangelunit unit type (#4406)
* scale placeangleunit

* add radian si_conversions

* return conversion value of planeangleunit

* Update unit.py
2024-04-17 14:46:06 +02:00
Andrej730 17f09655e1 fix error reloading representation for objects without representation 2024-04-17 14:46:06 +02:00
Andrej730 036a88de54 commented out apil.run settings serialization as it's not used currently 2024-04-17 14:46:06 +02:00
Andrej730 6cbc0e0564 small fixes 2024-04-17 14:46:06 +02:00
Ryan Schultz 2d0e4f52a6 Add parameter for angle tolerance, and change 'deg' to '°' 2024-04-17 14:46:06 +02:00
Andrej730 e5d1c8cfb9 add test for util.unit.calculate_unit_scale 2024-04-17 14:46:06 +02:00
Andrej730 0abea81e6b fix error in typing 2024-04-17 14:46:06 +02:00
fescale bedb7733a7 Replace the specific "libpython3.8" debian package dependency for the generic "libpython3-dev". 2024-04-17 14:46:04 +02:00
Ryan Schultz 8356911bba added python version for Blender 4.1 2024-04-17 14:45:15 +02:00
Andrej730 59bda23ff6 Fix bug joining multiple extruded profiles in non-meters projects
Demo if someone missed that feature - https://imgur.com/a/JywJHyc
2024-04-17 14:45:15 +02:00
Andrej730 ad87d31e6a shape_builder.create_axis2_placement_3d utility method and docs 2024-04-17 14:45:15 +02:00
Andrej730 26e7742472 Fix bug resetting rotations after editing profile axis
Before - https://imgur.com/a/czjAoSb
After - https://imgur.com/a/ajiNcdK
2024-04-17 14:45:15 +02:00