+ fixes #0001630: IGES-Export in [mm] turns to [Inches]

This commit is contained in:
wmayer 2014-07-23 13:49:16 +02:00
parent dfea0206ca
commit 841b4fab1b

View File

@ -690,12 +690,10 @@ void TopoShape::write(const char *FileName) const
void TopoShape::exportIges(const char *filename) const
{
Interface_Static::SetCVal("write.iges.unit","IN");
try {
// write iges file
IGESControl_Controller::Init();
IGESControl_Writer aWriter;
//IGESControl_Writer aWriter(Interface_Static::CVal("write.iges.unit"), 1);
aWriter.AddShape(this->_Shape);
aWriter.ComputeModel();
QString fn = QString::fromUtf8(filename);