FreeCAD icon indicating copy to clipboard operation
FreeCAD copied to clipboard

Draft: Draft_SetStyle new Material handling

Open Roy-043 opened this issue 9 months ago • 2 comments

Discussion: #13657.

To accommodate the new properties the task panel now has a tabbed interface. The properties on the Annotation tab have been reordered to match the related Preference page.

The order of the Shape appearance properties matches the related Preference page as well. I do not understand why these properties have have different order in the Properties view (if you expand the ShapeAppearance node). @davesrocketshop Do you know the reason for this?

Draft_SetStyle_Taskpanel_Tab_Shape Draft_SetStyle_Taskpanel_Tab_Annotation

Roy-043 avatar May 09 '24 09:05 Roy-043

The order of the Shape appearance properties matches the related Preference page as well. I do not understand why these properties have have different order in the Properties view (if you expand the ShapeAppearance node). @davesrocketshop Do you know the reason for this?

The short answer is no, I don't, but I'll look into it. The property editor was modified by @wwmayer so he may know.

davesrocketshop avatar May 09 '24 11:05 davesrocketshop

I guess the order of the colors is the same as of the documentation of the SoMaterial class: https://www.coin3d.org/Coin/html/classSoMaterial.html But I don't mind if the order of specular and emissive color should be swapped.

wwmayer avatar May 09 '24 12:05 wwmayer

LGTM!

yorikvanhavre avatar May 13 '24 07:05 yorikvanhavre