0020442: EDF 1087 GEOM: IGES format

Turn on the non-manifold topology support
This commit is contained in:
vsr 2010-12-02 13:45:22 +00:00
parent c55fe1f246
commit f729ceb932
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ STEPEXPORT_EXPORT
STEPControl_Writer aWriter; STEPControl_Writer aWriter;
//VSR: 16/09/09: Convert to METERS //VSR: 16/09/09: Convert to METERS
Interface_Static::SetCVal("xstep.cascade.unit","M"); Interface_Static::SetCVal("xstep.cascade.unit","M");
Interface_Static::SetIVal("write.step.nonmanifold", 1);
//JFA: PAL6162 status = aWriter.Transfer( theShape, STEPControl_ManifoldSolidBrep ); //JFA: PAL6162 status = aWriter.Transfer( theShape, STEPControl_ManifoldSolidBrep );
status = aWriter.Transfer( theShape, STEPControl_AsIs ); status = aWriter.Transfer( theShape, STEPControl_AsIs );
//VRV: OCC 4.0 migration //VRV: OCC 4.0 migration

View File

@ -100,6 +100,8 @@ extern "C"
STEPControl_Reader aReader; STEPControl_Reader aReader;
//VSR: 16/09/09: Convert to METERS //VSR: 16/09/09: Convert to METERS
Interface_Static::SetCVal("xstep.cascade.unit","M"); 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 //VRV: OCC 4.0 migration
TopoDS_Compound compound; TopoDS_Compound compound;
BRep_Builder B; BRep_Builder B;