IfcMaterials and IfcSurfaceStyles

In the Bonsai video Tutorials series, Ryan warns about using any SurfacStyle "Element" other than (most basic) "Shade". Looks like the videos are already from February (?)

So are there already some improvements and is it worth to try to play with these or is this still a no go area ?

I just tried yesterday's Bonsai build and it already starts to throw warnings if I only expand Materials and Styles dropdowns or try a "Merge Identical" on these. So it looks like a bit of a rough terrain part of Bonsai but maybe a completely different issue though.
I understand that priority wise there may be more important areas beside my fringe group feature interests .... but if there are any news or roadmaps - highly welcome.

steverugi

Comments

  • So are there already some improvements and is it worth to try to play with these or is this still a no go area ?

    still the same, as I understand it.

    I just tried yesterday's Bonsai build and it already starts to throw warnings if I only expand Materials and Styles dropdowns or try a "Merge Identical" on these.

    Not aware of this error. Does it make sense to post a bug?

  • edited July 2025

    Not really ....

    I had a few times when it works normal. Not even restarted Blender, just cleared the file and tried again.
    Looks like as soon as you had your first Bonsai warning, it will warn you for anything you do :)

    I realized that I had still some traces of IfcSurfaceStyles and IfcMaterials in my Startup.blend and tried to get rid of these.

    No problem with the Surface Styles. But I am not allowed to delete the IfcMaterials, as Bonsai says these are used in "Material Sets".
    I do not have any geometry with IFC Tags.

    I see I also had (lots of !) IfcMaterialConstituentSets (Duplicates). Looks like no way to merge these (?)
    But I deleted them one at a time. Now I could delete more Materials. Sometimes I got an error warnings again and could not delete, aborting editing and trying again showed that it deleted most of them nevertheless (!?) and at one time my IfcSurfaceStyles came back (as the warning always says, will you really go on ? your data may be corrupt). Deleted Styles again and the rest of IfcMaterials.

    What I mean is that I ca't really reproduce when there is a warning or it may just work. But if you play long enough with Materials, Styles and such, you will run into warnings. It feels that there is some roughness but I can't really localize it exactly.

    But it looks like my Startup.blend is now pretty IFC clean, which is fine.

    BTW,
    I watched your 3:45 minutes "Introduction to Materials and Styles" video - and now I finally understand the whole CG>IFC Material/Style System and finally even this posting


  • Not sure if this is just the materials, or the sets too.

  • I think I purged a few times in between and it is only for Materials.

    And wouldn't that be confusing/complicated/error prone if Material would purge ConstituentSets too ?
    Not sure .... but I think it is good that Mats and Styles have separate buttons (?)

Sign In or Register to comment.