Massimo Fabbro
a04542dfd1
New button hide all spaces in spatial tool
blenderbim-240223
2024-02-23 18:16:15 +01:00
Massimo Fabbro
066616707a
Now generate space and generate spaces from walls are always visible in the UI so users understand better that are different procedures
2024-02-23 18:16:15 +01:00
Andrej730
c1cd228911
Fix #4342
2024-02-22 16:19:19 +05:00
Andrej730
515830e52d
update representation item style on editing/removing shape aspect
...
Example - https://imgur.com/a/2SxgSRH
blenderbim-240222
2024-02-22 15:24:09 +05:00
Andrej730
a971860094
style.assign_representation_styles to replace previously assigned styles
...
as probably in the most cases user would want 1 style per 1 representation item
After this it's finally possible in BBIM to assign styles to representation items through the materials: https://imgur.com/a/cgiJ1KV
2024-02-22 13:41:34 +05:00
Andrej730
f872906e0c
MaterialCreator - minor refactor for code readibility
2024-02-22 12:26:12 +05:00
Andrej730
0597100356
fix error in data.py occurring if object has no material
blenderbim-240221
2024-02-21 16:13:56 +05:00
Andrej730
d5feaaa1af
show error message removing material that is used in material sets
...
previously it wasn't showing anything when you would try to remove a material
2024-02-21 15:58:17 +05:00
Andrej730
caca209c8f
BBIM - update related representations on assigning style to material
2024-02-21 15:58:17 +05:00
Andrej730
2e45d4a57e
unassign_material_style to handle constituents
2024-02-21 15:15:03 +05:00
Andrej730
0d8c86a0f6
api.unassign_representation_styles
2024-02-21 15:14:28 +05:00
Andrej730
7f0df72fec
assigning material styles to reuse existing styled item + tests
2024-02-21 15:14:28 +05:00
Andrej730
863a8248af
assign_representation_styles to reuse existing styled item + tests
2024-02-21 12:36:06 +05:00
Andrej730
bdc991856c
style.assign_material_style small optimization
2024-02-21 11:32:48 +05:00
Andrej730
1a38b7f5c6
set previous active style and context values editing material's style
2024-02-20 16:02:50 +05:00
Andrej730
91199308a9
descriptive error for missing user or application in ifc2x3 #4340
2024-02-20 15:21:48 +05:00
Andrej730
1f7930c5c8
fixed bug migrating attributes to older ifc version (after 8728fa3)
blenderbim-240220
2024-02-20 14:19:10 +05:00
Andrej730
54c7f355ff
black format
2024-02-20 12:38:29 +05:00
Andrej730
551f3b0d8d
Fix issues editing work time in ifc4x3 #4295
2024-02-20 12:38:29 +05:00
Andrej730
049c796629
IFC4.3 test bootstrap
2024-02-20 12:38:29 +05:00
Andrej730
412700c8fd
Default Blender filepath hotkeys for .ifc filepath
...
Example - https://i.imgur.com/Mk6mkuP.png
E.g. alt-click now opens .ifc directory and shift-click opens .ifc with default software associated with .ifc files.
Should be cross-platform but tested only on Windows
Added this code to tool.Blender so it can be reused for other operators invoking file browsing window.
2024-02-20 12:01:43 +05:00
Andrej730
96a8c1e8ae
style.assign_material_style to assign style to related shape aspects
blenderbim-240219
2024-02-19 18:08:18 +05:00
Andrej730
602e18a262
promote get_shape_aspects to util.element method
2024-02-19 18:08:18 +05:00
Andrej730
9e30e1ad31
get material constituents from cache and filter active element material
2024-02-19 18:08:18 +05:00
Andrej730
b6f939f1b1
disable editing rep item style if it comes from material constituent through shape aspect
2024-02-19 18:08:18 +05:00
Thomas Krijnen
d964f924d7
CMakeLists.txt pre 2.37 compat
2024-02-19 09:26:18 +01:00
Ryan Schultz
36b702630d
Merge pull request #4291 from IfcOpenShell/Assign_Product_In_Any_Order
...
Select in any order, when assigning relating_product
blenderbim-240218
2024-02-18 13:02:45 -06:00
Thomas Krijnen
ccf70c7aad
#4012 #2138 #2044 #4032 IfcConvert --keep-bounding-boxes option, default is now exluded.
2024-02-18 14:02:07 +01:00
Andrej730
a2ff63f9ec
Fix issue editing object placement that shares it's axis placement with other placements
...
If multiple object placements were reusing the same IfcAxis2Placement then editing one of them would remove IfcAxis2Placement ignoring it's inverse references making all other object placements invalid.
blenderbim-240216
2024-02-16 18:04:09 +05:00
Andrej730
a82b0f30b0
fix errors getting layer assignments in ifc2x3 #4330
2024-02-16 18:04:09 +05:00
Andrej730
bc2fd232d0
sort representation items in ui based on shape aspect
...
- display shape aspect along with the repsentation type
- sort representation items based on shape aspects name, items without shape aspects come last
2024-02-15 16:05:14 +05:00
Andrej730
5d7b6ad998
Fix #4319
...
StringProperty search keyword was introduced only in Blender 3.3
2024-02-15 14:53:11 +05:00
Gorgious56
0e0678b926
Fix section cut planes not working anymore on Blender < 4.0.0
blenderbim-240215
2024-02-15 08:41:42 +01:00
krande
1d4dfd0eb3
add missing typename
2024-02-14 21:49:43 +01:00
Gorgious56
65179db444
#4308 : Fix section cutaway shader links incorrectly linking when removing a section
2024-02-14 14:15:07 +01:00
Gorgious56
5457ee3a40
Fix #4308 : Section cutaway shader : Update API for 4.0 breaking changes + draw line decorator for more than one section cutaway
2024-02-14 13:43:27 +01:00
Andrej730
4f3ba7ae22
some typing
blenderbim-240214
2024-02-14 14:25:55 +05:00
Andrej730
a33a1700dc
Fix bug in ExtractElements recipe adding a lot unrelated products
...
if you'd add a type product and it had material that were used in bunch of ther products
example - https://community.osarch.org/discussion/1965/error-extracting-ifcslab-or-ifccolumn
2024-02-14 14:23:50 +05:00
Massimo Fabbro
8a48769760
Minor fix
2024-02-13 17:15:25 +01:00
Andrej730
7e55872ca8
fix bugs in c5c7363a9
2024-02-13 17:58:12 +05:00
Andrej730
edbe1d80bf
fix project name for IfcAdvancedHouse
2024-02-13 13:50:29 +05:00
Andrej730
bd093303c4
UI info message when patch execution was finished
blenderbim-240213
2024-02-13 12:33:36 +05:00
Andrej730
c5c7363a93
ifctester Attribute.filter not to check subtypes attributes
...
if attribute is already found in the super type
2024-02-13 12:25:32 +05:00
Andrej730
5014fef129
Fix #4314
...
It was looking for IFC entities with the attribute from Attribute.name but wasn't considering ifc subclasses that inherit from that entity.
2024-02-13 12:24:58 +05:00
Andrej730
d710a01df5
ifctester - some typing
2024-02-13 12:24:58 +05:00
Andrej730
23c65742e1
CMake - disable optimization for RelWithDebInfo with ENABLE_BUILD_OPTIMIZATIONS=Off
2024-02-12 14:23:21 +05:00
Andrej730
d8f52afa6c
Fixed #4310
2024-02-12 12:15:27 +05:00
Andrej730
29ce8d5d80
Fix bug removing relating object of IfcRelNests
...
it was unlinking current collection of the related object and related objects were missing after
blenderbim-240212
2024-02-12 12:01:04 +05:00
Andrej730
5e5de0bbd8
root.remove_product - fix some cases producing invalid ifc #4313
...
always remove IfcRelNests
1) if product is RelatingObject
2) if product is the only RelatedObject
2024-02-12 11:40:25 +05:00
Ryan Schultz
b9b58f5726
proposed fix for #4311
2024-02-11 13:36:23 -06:00