Andrej730
6ef96841ac
Temp disable setting paint_active_slot from external materials #4129
2023-12-19 14:38:23 +05:00
Andrej730
289b2d1e9d
Less console errors if failed to find external styles library
...
Now:
```
Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
```
Before:
```
File "\blenderbim\bim\module\style\prop.py", line 250, in update_shading_style
Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
Traceback (most recent call last):
File "\blenderbim\bim\module\style\prop.py", line 255, in update_shading_style
bpy.ops.bim.activate_external_style(material_name=blender_material.name)
File "L:\Games\SteamLibrary\steamapps\common\Blender\4.0\scripts\modules\bpy\ops.py", line 109, in __call__
ret = _op_call(self.idname_py(), kw)
RuntimeError: Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
```
2023-12-19 14:38:23 +05:00
Kristoffer Andersen
96db699ad2
Merge pull request #4125 from Krande/fix/convert-units
...
Proposal for updating IfcPatch ConvertLengthUnit.py for compatibility with boost>=1.82
2023-12-19 06:43:01 +01:00
Andrej730
6b7eec0db6
Fix #4124
2023-12-18 12:28:19 +05:00
Sigma Dimensions (Yass)
80f35d0bda
Fix CSV workschedule import - handle date-related attributes more gracefully
2023-12-17 20:25:23 +01:00
Sigma Dimensions (Yass)
df390a655d
fix displaying derived task durations
2023-12-17 20:20:52 +01:00
krande
9335c8a0c8
add test and update ci
2023-12-17 18:09:28 +01:00
krande
f5500da0af
remove ifc2x3 conditional in conversion utility
2023-12-16 14:18:13 +01:00
krande
c9552fac29
update name of function to make its purpose more clear
2023-12-16 14:01:36 +01:00
krande
b11b3b7fa8
update unit_assignment
2023-12-16 13:47:18 +01:00
krande
8aecee5836
initial proposal for updating units conversion
2023-12-16 13:37:38 +01:00
Bruno Postle
2f3b3011ec
BlenderBIM IFC Git set push.autoSetupRemote
...
When pushing to a remote repository set tracking for the current branch
so that a locally created repository behaves the same (on the
command-line) as a cloned repository
2023-12-15 23:26:52 +00:00
Andrej730
491c9203b0
test for loading ifc with blob textures
2023-12-15 18:19:59 +05:00
Andrej730
7f2b996d23
test for loading ifc style to blender material
2023-12-15 18:19:59 +05:00
Andrej730
d2ea6f6656
BBIM to support loading IfcBlobTexture
2023-12-15 18:19:59 +05:00
Andrej730
25128e8aa8
support to add all surface style types creating new IfcSurfaceStyle
...
Previously it was working only for shading styles, for other styles it worked but then produced errors as IfcSurfaceStyle.Styles end up being None.
2023-12-15 18:19:59 +05:00
Dion Moult
30fa917e69
Patch recipes can now be performed in-place and are sorted in the UI.
2023-12-15 23:09:34 +11:00
Dion Moult
40e494996d
Add support for manual classifications and references
2023-12-15 23:09:34 +11:00
Andrej730
cfdc54064e
disable rel paths for adding ref images and textures with unsaved .ifc
2023-12-14 18:53:54 +05:00
Andrej730
6daead6b61
Fixed issues using relative paths for external styles
...
- removed redundant notion about saving .blend file
- relative paths were saved incorrectly
- fix issue using "bim.browse_external_style" if IfcSurfaceStyle already has external style and it's either .blend file or material in it is missing (it was failing opening file browser)
2023-12-14 18:47:55 +05:00
Andrej730
241d52f0ad
small error message fix
...
as it appears as one of the messages during .ifc load, that way it will be more clear that it's related to external styles
2023-12-14 18:43:17 +05:00
Andrej730
68dd93da1d
Fix issue BrowseExternalStyle not selecting current external style in file manager
2023-12-14 17:43:12 +05:00
Andrej730
82703670f0
Pull all shading related material attributes from external styles #4053
2023-12-14 17:42:17 +05:00
Dion Moult
cb8462a0d0
New SetWorldCoordinateSystem patch. Autodesk software is starting to pay attention to this attribute which I find really confusing.
2023-12-14 17:02:00 +11:00
Dion Moult
000245c26c
Nesting collections only generate for element nesting, not port nesting
2023-12-14 16:50:56 +11:00
Andrej730
d97ee8eed4
Support editing IfcSurfaceStyleLighting in UI
2023-12-13 16:57:23 +05:00
Andrej730
f8af28f12a
style.edit_surface_style to support editing IfcSurfaceStyleLighting
...
It was failing because api method wasn't supporting IfcColourRgb attributes edit in general but only for IfcSurfaceStyleShading.SurfaceColour
2023-12-13 16:53:58 +05:00
Andrej730
f6fab30d0a
Support editing IfcSurfaceStyleRefraction in UI
2023-12-13 15:16:52 +05:00
Andrej730
f1a4ed702b
Hide IfcStyledItem from bim.print_unused_elements_stats
...
as IfcStyledItem can be not referred by any other element and it doesn't mean it's not used in the project
2023-12-13 14:29:10 +05:00
Andrej730
c4080626df
style.add_surface_texture to work without blender material provided
2023-12-13 14:07:48 +05:00
Bruno Postle
a8078e38d2
Fix Clipping divide error (reported in #4057 )
2023-12-12 22:15:59 +00:00
Andrej730
c52fe8abf9
data.py rename for consistency
2023-12-12 16:14:19 +05:00
Andrej730
b310b5aaba
Remove old external styles UI from material in favor of general styles UI
...
Adding external styles from other styles now also moved to general styles UI - https://i.imgur.com/uEyjKVY.png
2023-12-12 16:12:55 +05:00
Andrej730
7246e75085
Fix after 2520a9305
2023-12-12 15:32:40 +05:00
Andrej730
48c0378bff
Fixed #4105
2023-12-12 14:48:04 +05:00
Andrej
91c90e7b86
Merge pull request #4095 from c4rlosdias/v0.7.0
2023-12-12 14:09:14 +05:00
Andrej730
7947ba4aaf
Override some more blender scene panels #3842
2023-12-11 16:35:21 +05:00
Andrej730
2520a93055
Fix issues unregistering overridden panels
...
Previously overridden scene panels were removed but original panels were not restored.
Also added condition check for Blender version to generate list of panels to override, so we won't miss any errors using `try - except`.
2023-12-11 16:35:21 +05:00
Andrej730
fa480d99a2
Procedural override for default blender panels, hide keying panels #3842
...
also fixed the issue with default scene panels that were parented to other panels - because we didn't change `bl_parent_id` the panel structure for them was broken.
2023-12-11 16:35:21 +05:00
Bruno Postle
72c057e7a0
BlenderBIM user docs update after 6452872
2023-12-10 22:13:05 +00:00
Carlos Dias
61cfb361fa
Update __init__.py
...
Fix bug
2023-12-08 11:09:28 -03:00
Andrej730
3786cfa666
Fixed issues with linked elements from linked blend files #4081
...
In #4081 reported the case when during redo (changing param in operator's popup) `Ifc.rebuild_element_maps` was relinking elements without discarding possible linked blender libraries. It end up accidentally linking some library's objects to the current Ifc file leading to errors.
Also fixed possible similar issue in couple other places.
2023-12-08 18:38:09 +05:00
Andrej730
cabc06821f
test for tool.Blender.copy_node_graph #3876
2023-12-08 16:58:11 +05:00
Dion Moult
f9fef4f5f6
Fix #4085 . Classification reference URIs now have a button you can jump to that link.
2023-12-08 16:35:46 +11:00
Dion Moult
7c89d072e2
Fix #4086 . Add support for non predefined bSDD pset and qto values.
2023-12-08 15:07:46 +11:00
Dion Moult
dbb9e8c907
Fix #4092 . Minor bug with bad detection of text literals when switching geometry.
2023-12-08 14:03:46 +11:00
Dion Moult
2df5b4c70e
Fix #4090 . Bug where profile set generator didn't accommodate optional axes.
2023-12-08 12:17:48 +11:00
Andrej730
a5aa608240
Fix reference images import after styles ui change
2023-12-07 18:09:17 +05:00
Andrej730
f7454366cc
Representation Items UI - replace icon for active style
...
Now it's more consistent because we use the same icon is Styles UI
2023-12-07 18:09:17 +05:00
Andrej730
f773480917
style.edit_surface_style - fix crash setting attribute to None
...
Occured on setting IfcColourOrFactor attribute to None (e.g. DiffuseColour).
2023-12-07 18:09:17 +05:00