Blender Defender
f8848051ca
style: Run black formatter on spatial/ui.py
2024-07-29 21:37:29 +10:00
Blender Defender
b81031eecf
fix: Remove the "animatable" option from the "engine" and "format" property in BIMFMProperties
2024-07-29 21:37:29 +10:00
Blender Defender
95a7ea8dce
refactor: Create property group MultipleFileSelect
...
To easier create and display properties that allow one or more files as input, a `MultipleFileSelect` property group has been extracted, together with an operator for selecting the files and the code for displaying the property.
2024-07-29 21:37:29 +10:00
Dion Moult
98edb5a34c
Display the default container in the UI when creating new types
2024-07-29 19:50:21 +10:00
Dion Moult
8ca2a55616
Implement filtered selection in new spatial decomposition panel
2024-07-29 18:09:08 +10:00
Dion Moult
74141bec73
Sort pset names and properties alphabetically
...
Can't believe it took this long to get around to doing this
2024-07-29 10:43:15 +10:00
Dion Moult
f60c4fd3c5
Forgot to commit these files for the georeferencing updates
2024-07-29 10:42:37 +10:00
Kurt Battisti
dfd505a794
Fix. Docs Georeferencing URL ( #5096 )
...
use users/advanced/georeferencing.html
2024-07-28 00:14:50 +10:00
Blender Defender
4a311fe4de
fix: Remove the "ifc_patch_args" property ( #5095 )
...
* fix: Remove the "ifc_patch_args" property
This property has been removed, because patch recipes with arguments other than the boilerplate arguments automatically display these arguments as properties, and patch recipes that don't allow more arguments than the boilerplate arguments fail, if "ifc_patch_args" is not None or "[]". The test cases have been adjusted accordingly.
* style: run the black formatter to fix failing checks
2024-07-27 22:58:48 +10:00
Andrej730
a1d8fbdbe9
Fix missing materials from sets #5093 #4832
...
Regression in ifcopenshell 0.8 - missing materials and styles from IfcMaterialProfileSets, IfcMaterialProfileSetUsages, IfcMaterialLayerSet.
2024-07-27 15:38:22 +05:00
Andrej730
952abde48e
fix console errors related to material rename from ui
...
1) update_material_name was triggered for categories and failed since ifc id in that case = 0
2) update_material_name was triggered for materials when they were still incomplete and ifc id was still 0
3) moved setting material.name before settings ifc_id to avoid triggering unnecessary changes in ifc
2024-07-27 15:24:05 +05:00
Andrej730
168718063f
fix regression #5092 after be7661a83
2024-07-27 15:24:01 +05:00
Dion Moult
4abcbbb4f9
Georeferencing calculator can now calculate blender offsets too
2024-07-27 19:54:12 +10:00
Dion Moult
1ac1b289c1
Map coords always visualise using map units, visualise IFC local origin, and don't show blender coords if no blender offset
2024-07-27 19:53:45 +10:00
Andrej730
ea8d303883
fix some test-bim errors in Blender 4.2
2024-07-26 21:23:39 +05:00
Blender Defender
82a6ddb01c
feat: Make sql_type an enum property in the Ifc2Sql recipe
...
Since there is a limited number of choices, a string property wouldn't be very helpful. Use a dynamic enum property (which is adjusted according to which types of SQL are available) instead.
2024-07-26 23:35:02 +10:00
Blender Defender
a7152bdef0
feat: Convert argument names into prettier looking property names in the IFC Patch Panel
...
Inspired by #4721
2024-07-26 23:29:41 +10:00
Andrej730
6484a529b0
black format
2024-07-26 18:29:18 +05:00
Andrej730
6e1e653ceb
fix tests to use release version of ifc4x3 (ci was failing)
2024-07-26 16:29:46 +05:00
Andrej730
0488e4cccb
bcfp numpy 2.0+ support #5080
...
`np.float_` is deprecated, it was just an alias for `np.float64`
2024-07-26 16:29:26 +05:00
Andrej730
3cf92fd508
bsddclassification - remove description prop as unused
2024-07-26 16:29:26 +05:00
Andrej730
fb2bb7554e
bsdd - add buttons to open URIs in browser
...
Examples:
- https://i.imgur.com/zSvU9vp.png
- https://imgur.com/a/WkbTiVa
2024-07-26 16:29:26 +05:00
Andrej730
be7661a83b
remove duplicated operator bim.open_webbrowser
...
it did exactly the same as bim.open_uri
2024-07-26 16:29:25 +05:00
Andrej730
9684e21d93
bsdd - hide domain selection operator for the active domain
...
Example - https://imgur.com/a/SkpECro
2024-07-26 16:29:25 +05:00
Andrej730
ee5c401823
bsdd - expose bsdd props descriptions to ui
...
Example - https://imgur.com/a/xUUeuF5
2024-07-26 16:29:25 +05:00
Andrej730
4aa3ffb765
bsdd - check keyword length only in tool
...
just to make it more straightforward and remove unused output
2024-07-26 16:29:25 +05:00
Dion Moult
153a71f91e
Distribute IfcConvert on GH actions
2024-07-26 20:04:04 +10:00
Dion Moult
ae7b1bb9b4
Bump IOS
2024-07-26 20:03:36 +10:00
Dion Moult
6f70196a6c
Make IfcConvert downloads also come consistently from github releases
2024-07-26 20:03:24 +10:00
Blender Defender
228bbc30ad
refactor: Update code comments and docstrings
2024-07-26 19:28:10 +10:00
Blender Defender
f83a7ac730
feat: Sort the available length units numerically
...
Length units are now sorted ascending by the value the prefix represents, i.e. METER is listed before KILOMETER, ...
2024-07-26 19:28:10 +10:00
Blender Defender
fad4ea82a7
refactor: Update the type annotation in Migrate.py to be a literal
2024-07-26 19:28:10 +10:00
Blender Defender
a252b459a2
refactor: Update the type annotation in ConvertLengthUnit.py to be a literal
2024-07-26 19:28:10 +10:00
Blender Defender
9ac159e0af
feat: Parse type "Literal" as enum property in the IFC Patch Panel
2024-07-26 19:28:10 +10:00
Dion Moult
1fef4c5857
Run black on BBIM
2024-07-26 12:19:21 +10:00
Dion Moult
e7b791f4a2
Run black on utils
2024-07-26 12:16:36 +10:00
Dion Moult
a6286293d8
Run black on IOS-Python
2024-07-26 12:00:57 +10:00
Andrej730
d51fa2c5f7
bsdd - info messages with amount of found classes / class props
2024-07-25 18:36:18 +05:00
Andrej730
e4afcc96d1
dev_environment script - echo instead of rem so users could see the instructions
2024-07-25 18:36:18 +05:00
Andrej730
5f94a84616
dev environment script - move username to a separate variable, use current user as default
...
Want to keep the script working for some users (me 👉 👈 ) just by running it from the repo without any changes.
2024-07-25 18:36:18 +05:00
Andrej730
a883e9f490
bsdd - fix bug adding wrong classification to the project + info messages
...
1) we were identifying active domain just by name, therefore it would always pick up the first dictionary that has matching name (typically it's the most recent version) even though user selected a different version
2) Previously it would fail if it couldn't find a domain, now it will show an info message.
3) Also added info message when user is trying to add the same classification again, so it will be less confusing.
2024-07-25 18:36:17 +05:00
Andrej730
74db3fcbbe
bsdd - show more info about the selected domain
...
Exposed all stored information to the UI, now it's possible to distinguish between different versions of the same domain:
https://i.imgur.com/6wlSkCP.png
2024-07-25 18:36:17 +05:00
Andrej730
d7b85d1264
bsdd - fix bug when it was always loading preview and inactive domains
2024-07-25 18:36:17 +05:00
Andrej730
455fe740c7
support assigning bsdd classifications in ifc4x3 too
2024-07-25 18:36:17 +05:00
Andrej730
eac4e80ee9
typing
2024-07-25 18:36:17 +05:00
Dion Moult
33e188b321
Visualisation of WCS now takes into account blender session offsets
2024-07-25 23:34:29 +10:00
Dion Moult
aae160b568
Don't clone in windows dev setup, also don't use appdata since it will run as root
2024-07-25 22:51:05 +10:00
Thomas Krijnen
91f4427bb5
Start from project instead of unit assignment #5074
2024-07-25 10:23:12 +02:00
Andrej730
8b29e50f11
add_classification - remove dead and deprecated code
2024-07-24 18:24:22 +05:00
Andrej730
7edd1225c0
Fix issue assigning bsdd classification in ifc2x3 #5073
2024-07-24 18:24:22 +05:00