]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020442: EDF 1087 GEOM: IGES format
authorvsr <vsr@opencascade.com>
Thu, 2 Dec 2010 13:45:22 +0000 (13:45 +0000)
committervsr <vsr@opencascade.com>
Thu, 2 Dec 2010 13:45:22 +0000 (13:45 +0000)
Turn on the non-manifold topology support

src/STEPExport/STEPExport.cxx
src/STEPImport/STEPImport.cxx

index 362230930816bf02a06e1204794b748e665ffdee..3e215b6282e6a75015e9f56cdb48c6ac18cbcdec 100644 (file)
@@ -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
index 1983470bca3bb3a38cb6ad135c33f29e0dee8cd1..05503980521931e8cd4d7266bea56528ba052f4e 100644 (file)
@@ -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;