View Revisions: Issue #3165

Summary 0003165: Color information lost in STEP export
Revision 2017-08-18 10:30 by Kunda1
Description Exporting a coloured model using either of these approaches


Part.export([PART],'a.step')

or

App.ActiveDocument.PART.Shape.exportStep('b.step')


Results in a step file that has no colour information.

Color is included if the step file is written using

import ImportGui
ImportGui.export([FreeCAD.getDocument("test").getObject("PART")],u"c.step")


Unfortunately this 3rd approach cannot be used from freecadcmd, and that is all I have available for reasons of running on a headless Linux box in the cloud, and for performance reasons.

Revision 2017-08-18 10:29 by Kunda1
Description Exporting a coloured model using either of these approaches

Part.export([PART],'a.step')
or
App.ActiveDocument.PART.Shape.exportStep('b.step')

Results in a step file that has no colour information.

Color is included if the step file is written using
import ImportGui
ImportGui.export([FreeCAD.getDocument("test").getObject("PART")],u"c.step")


Unfortunately this 3rd approach cannot be used from freecadcmd, and that is all I have available for reasons of running on a headless Linux box in the cloud, and for performance reasons.

Revision 2017-08-18 06:49 by Batteries Included
Description Exporting a coloured model using either of these approaches

Part.export([PART],'a.step')
or
App.ActiveDocument.PART.Shape.exportStep('b.step')

Results in a step file that has no colour information.

Color is included if the step file is written using
import ImportGui
ImportGui.export([FreeCAD.getDocument("test").getObject("PART")],u"c.step")

Unfortunately this 3rd approach cannot be used from freecadcmd, and that is all I have available for reasons of running on a headless Linux box in the cloud, and for performance reasons.