IfcSurfaceStyles - changes not saving

Bonsai offers access to IFC Surface Styles and quite a few attributes.
I would like to make use of all IFC Surface Style Options for Visualization purposes and would like to save them with/inside the IFC.
I can set all Material attributes but as soon as I hit the Save ... button under each of the Tabs, it reverts the Style to the initial values.
Or if I don't save these settings there, my changes seem to consist, but when I save the IFC project and open it again - Surface Style Options are also reverted.

Am I doing something wrong (as it works as designed) or is it maybe a kind of a bug ?

Comments

  • I think there are some bugs there, if i'm following you correctly. Can you do a videocast showing exactly the problems you're having?

  • Never have made a videocast - but have to try it again more concentrated tomorrow to what exactly happens. Did only a quick test again before posting and at least it did behave strange.

  • Hi @zoomer can you take a shot of the panel where you save your settings?
    window+shift+S if you use windows

  • edited December 2024

    Yes, I can do that :)

    In Render Tab I tried to e.g. set the surface or diffuse color to red or change some reflexion values.
    As soon as I hit save render style at the bottom all input reverts.
    There is a dropdown "NOTDEFINED", at the beginning I used this but later thought I need to select any predefined shader type first, like PLASTIC, but when I save it also reverts.
    Nevertheless if I do not hit save render style, custom settings stay for the session, but when I save the IFC and open it again, everything is reverted to default also.

    So what I look for is a way to make use and setup of all available IFC Material Settings, but keep them saved in the IFC.
    (To avoid the use complex, IFC-unsupported Blender Material setups or externalisation)
    Basically I would like such Material setups also saved in a Bonsai Library for use in other projects.

    Can't exclude that I am doing/using Bonsai all wrong though....
    So far I try to test/learn what is all possible in pure IFC.

  • @zoomer i've run into this error before too. Would suggest posting a bug report. https://github.com/IfcOpenShell/IfcOpenShell/issues/new

    zoomer
  • OK, so it looks like it is not really working as designed .....
    But I do not have a Github Account.

Sign In or Register to comment.