Commit Graph

9727 Commits

Author SHA1 Message Date
Andrej730 35fbd3363d 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)
2024-04-16 11:16:08 +02:00
Andrej730 863ed5f002 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
2024-04-16 11:16:08 +02:00
Andrej730 c60fed8b58 Fix issue BrowseExternalStyle not selecting current external style in file manager 2024-04-16 11:16:08 +02:00
Andrej730 1251a7838a Pull all shading related material attributes from external styles #4053 2024-04-16 11:16:08 +02:00
Dion Moult 77bc031800 New SetWorldCoordinateSystem patch. Autodesk software is starting to pay attention to this attribute which I find really confusing. 2024-04-16 11:16:08 +02:00
Dion Moult 83a12ea7f9 Nesting collections only generate for element nesting, not port nesting 2024-04-16 11:16:07 +02:00
Andrej730 ab47291760 Support editing IfcSurfaceStyleLighting in UI 2024-04-16 11:16:07 +02:00
Andrej730 eb30b30186 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
2024-04-16 11:16:07 +02:00
Andrej730 3034d88a89 Support editing IfcSurfaceStyleRefraction in UI 2024-04-16 11:16:07 +02:00
Andrej730 fcd7d4186d 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
2024-04-16 11:16:07 +02:00
Andrej730 b6b0e958b5 style.add_surface_texture to work without blender material provided 2024-04-16 11:16:07 +02:00
Bruno Postle 343589f1c0 Fix Clipping divide error (reported in #4057) 2024-04-16 11:16:07 +02:00
Andrej730 6bbb509c09 data.py rename for consistency 2024-04-16 11:16:07 +02:00
Andrej730 128afc53f0 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
2024-04-16 11:16:07 +02:00
Andrej730 67ec30582f Fix after 2520a9305 2024-04-16 11:16:07 +02:00
Andrej730 33c771bc3d Fixed #4105 2024-04-16 11:16:07 +02:00
Carlos Dias bf3c1d4044 Update __init__.py
Fix bug
2024-04-16 11:16:07 +02:00
Thomas Krijnen e2543b4374 Update build-all.py - py vers 2024-04-16 11:16:05 +02:00
Andrej730 43920f3c81 Override some more blender scene panels #3842 2024-04-16 11:12:08 +02:00
Andrej730 0b594f69b0 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`.
2024-04-16 11:12:08 +02:00
Andrej730 8c4bcc22a1 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.
2024-04-16 11:12:08 +02:00
Bruno Postle 26d42bf14e BlenderBIM user docs update after 6452872 2024-04-16 11:12:08 +02:00
Andrej730 6dfeadf193 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.
2024-04-16 11:12:08 +02:00
Andrej730 e926547c92 test for tool.Blender.copy_node_graph #3876 2024-04-16 11:12:08 +02:00
Dion Moult 6dcc8c2a5a Fix #4085. Classification reference URIs now have a button you can jump to that link. 2024-04-16 11:12:08 +02:00
Dion Moult e40336be2a Fix #4086. Add support for non predefined bSDD pset and qto values. 2024-04-16 11:12:08 +02:00
Dion Moult e469886cdd Fix #4092. Minor bug with bad detection of text literals when switching geometry. 2024-04-16 11:12:08 +02:00
Dion Moult 4d20c20cb6 Fix #4090. Bug where profile set generator didn't accommodate optional axes. 2024-04-16 11:12:08 +02:00
Andrej730 83c9d70991 Fix reference images import after styles ui change 2024-04-16 11:12:08 +02:00
Andrej730 b92ab2c85c Representation Items UI - replace icon for active style
Now it's more consistent because we use the same icon is Styles UI
2024-04-16 11:12:08 +02:00
Andrej730 32c1f20eb3 style.edit_surface_style - fix crash setting attribute to None
Occured on setting IfcColourOrFactor attribute to None (e.g. DiffuseColour).
2024-04-16 11:12:08 +02:00
Andrej730 fa31e10a77 Styles UI - moved UI from shader graph N-panel to Styles UI #3912
Moved all shading style and textures parameters from shader-graph N-panel to general Styles UI. Shader graph now also update in real time on any prop changes in Styles UI.

Now there is practically no need to switch to shader graph to edit styles shaders - all parameters are available from the Styles UI. That also allows you to edit styles and see the results in viewport even if the edited style is not the one that's currently active.

small demo - https://imgur.com/a/i2suoZw
2024-04-16 11:12:08 +02:00
Martin15135215 d0c68d3f5b add cff for ifcsverchok 2024-04-16 11:12:08 +02:00
Martin15135215 2b49c6e752 add cff for serializers 2024-04-16 11:12:08 +02:00
Martin15135215 9ecc264e19 add cff for qtviewer 2024-04-16 11:12:08 +02:00
Martin15135215 5744c3a821 add cff for ifcwrap 2024-04-16 11:12:08 +02:00
Martin15135215 9ab54425b4 add cff for ifctester 2024-04-16 11:12:08 +02:00
Martin15135215 46f7241da5 add cff for ifcpatch 2024-04-16 11:12:08 +02:00
Martin15135215 5bec6c8e99 add cff for ifcparse 2024-04-16 11:12:08 +02:00
Martin15135215 55227daf17 add cff for ifcopenshell-python 2024-04-16 11:12:08 +02:00
Martin15135215 f9ea887de3 add cff for ifcmax 2024-04-16 11:12:08 +02:00
Martin15135215 c8b9a1bd37 add cff for ifcjni 2024-04-16 11:12:08 +02:00
Martin15135215 47e4c6c22b add cff for ifcgeom_schema_agnostic 2024-04-16 11:12:02 +02:00
Martin15135215 b844260e13 add cff for ifcgeom 2024-04-16 11:10:59 +02:00
Martin15135215 05a7392c1a add cff for ifcfm 2024-04-16 11:10:59 +02:00
Martin15135215 bb0feeab01 add cff for ifcdiff 2024-04-16 11:10:59 +02:00
Martin15135215 ae38d5053a add cff for ifccsv 2024-04-16 11:10:59 +02:00
Martin15135215 9b2b808ff3 add cff for ifcconvert 2024-04-16 11:10:59 +02:00
Martin15135215 76ec22d85c add cff for ifcclash 2024-04-16 11:10:59 +02:00
Martin15135215 a557a80228 Add cff for ifccityjson 2024-04-16 11:10:59 +02:00