From: vsr Date: Thu, 2 Dec 2010 13:45:22 +0000 (+0000) Subject: 0020442: EDF 1087 GEOM: IGES format X-Git-Tag: V6_2_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f729ceb932c4f2c7fdd76af2cd3a9785a5012dbf;p=modules%2Fgeom.git 0020442: EDF 1087 GEOM: IGES format Turn on the non-manifold topology support --- diff --git a/src/STEPExport/STEPExport.cxx b/src/STEPExport/STEPExport.cxx index 362230930..3e215b628 100644 --- a/src/STEPExport/STEPExport.cxx +++ b/src/STEPExport/STEPExport.cxx @@ -78,6 +78,7 @@ STEPEXPORT_EXPORT STEPControl_Writer aWriter; //VSR: 16/09/09: Convert to METERS Interface_Static::SetCVal("xstep.cascade.unit","M"); + Interface_Static::SetIVal("write.step.nonmanifold", 1); //JFA: PAL6162 status = aWriter.Transfer( theShape, STEPControl_ManifoldSolidBrep ); status = aWriter.Transfer( theShape, STEPControl_AsIs ); //VRV: OCC 4.0 migration diff --git a/src/STEPImport/STEPImport.cxx b/src/STEPImport/STEPImport.cxx index 1983470bc..055039805 100644 --- a/src/STEPImport/STEPImport.cxx +++ b/src/STEPImport/STEPImport.cxx @@ -100,6 +100,8 @@ extern "C" STEPControl_Reader aReader; //VSR: 16/09/09: Convert to METERS Interface_Static::SetCVal("xstep.cascade.unit","M"); + Interface_Static::SetIVal("read.step.ideas", 1); + Interface_Static::SetIVal("read.step.nonmanifold", 1); //VRV: OCC 4.0 migration TopoDS_Compound compound; BRep_Builder B;