+ fixes #0000763: Bad IGS import
This commit is contained in:
@@ -83,6 +83,10 @@ int Part::ImportIgesParts(App::Document *pcDoc, const char* FileName)
|
||||
if (aReader.ReadFile((const Standard_CString)FileName) != IFSelect_RetDone)
|
||||
throw Base::Exception("Error in reading IGES");
|
||||
|
||||
// Ignore construction elements
|
||||
// http://www.opencascade.org/org/forum/thread_20603/?forum=3
|
||||
aReader.SetReadVisible(Standard_True);
|
||||
|
||||
// check file conformity and output stats
|
||||
aReader.PrintCheckLoad(Standard_True,IFSelect_GeneralInfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user