mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-08 12:07:28 +05:00
Write STEP files in meters
This commit is contained in:
parent
368a824418
commit
6bc3fcbb2a
@ -18,13 +18,11 @@
|
|||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
|
||||||
|
|
||||||
// File: STEPExport.cxx
|
// File: STEPExport.cxx
|
||||||
// Created: Wed May 19 14:53:52 2004
|
// Created: Wed May 19 14:53:52 2004
|
||||||
// Author: Pavel TELKOV
|
// Author: Pavel TELKOV
|
||||||
// <ptv@mutex.nnov.opencascade.com>
|
|
||||||
//
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
#include <Basics_Utils.hxx>
|
#include <Basics_Utils.hxx>
|
||||||
@ -78,6 +76,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::SetCVal("write.step.unit", "M");
|
||||||
Interface_Static::SetIVal("write.step.nonmanifold", 1);
|
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 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user