+ fixes #0001630: IGES-Export in [mm] turns to [Inches]
This commit is contained in:
parent
dfea0206ca
commit
841b4fab1b
|
@ -690,12 +690,10 @@ void TopoShape::write(const char *FileName) const
|
||||||
|
|
||||||
void TopoShape::exportIges(const char *filename) const
|
void TopoShape::exportIges(const char *filename) const
|
||||||
{
|
{
|
||||||
Interface_Static::SetCVal("write.iges.unit","IN");
|
|
||||||
try {
|
try {
|
||||||
// write iges file
|
// write iges file
|
||||||
IGESControl_Controller::Init();
|
IGESControl_Controller::Init();
|
||||||
IGESControl_Writer aWriter;
|
IGESControl_Writer aWriter;
|
||||||
//IGESControl_Writer aWriter(Interface_Static::CVal("write.iges.unit"), 1);
|
|
||||||
aWriter.AddShape(this->_Shape);
|
aWriter.AddShape(this->_Shape);
|
||||||
aWriter.ComputeModel();
|
aWriter.ComputeModel();
|
||||||
QString fn = QString::fromUtf8(filename);
|
QString fn = QString::fromUtf8(filename);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user