Hey, are there any plans to support saving of a shape in STEP format with a provided color?
I am no expert in OCCT, but I think you have to create a doc with the shape, use the XCAFDoc_DocumentTool_ColorTool and create the STEP file with STEPCAFControl_Writer instead of STEPControl_Writer.
As far as I can tell, there are already bindings for STEPCAFControl_Reader in bitbybit-dev-occt, but not for STEPCAFControl_Writer.
Hey, are there any plans to support saving of a shape in STEP format with a provided color?
I am no expert in OCCT, but I think you have to create a doc with the shape, use the
XCAFDoc_DocumentTool_ColorTooland create the STEP file withSTEPCAFControl_Writerinstead ofSTEPControl_Writer.As far as I can tell, there are already bindings for
STEPCAFControl_Readerin bitbybit-dev-occt, but not forSTEPCAFControl_Writer.