Commit 30429a91 by Christophe Geuzaine

fix #331

parent e83761c7
Pipeline #309 passed with stage
in 9 minutes 27 seconds
......@@ -2598,7 +2598,7 @@ bool OCC_Internals::exportShapes(const std::string &fileName,
split[2] == ".step" || split[2] == ".stp" ||
split[2] == ".STEP" || split[2] == ".STP"){
STEPControl_Writer writer;
if(writer.Transfer(c, STEPControl_ManifoldSolidBrep) == IFSelect_RetDone){
if(writer.Transfer(c, STEPControl_AsIs) == IFSelect_RetDone){
if(writer.Write(fileName.c_str()) != IFSelect_RetDone){
Msg::Error("Could not create file '%s'", fileName.c_str());
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment