
Tue, 09/16/2025 - 04:04
chrono
pload ALL
NewDocument d XCAF
ReadIges d "e:/old file/e/test/false_circle2.igs"
DFBrowse d
XShow d
vsetdispmode 1
vfit
When using the above script to load IGES, the small facets in the box become circular surfaces (missing the small facet part), and loading in CAD Assistant is not a problem,
Could you please help me understand the reason and what parameters need to be set
Version 7.8
Import code
// Read
IGESCAFControl_Reader reader;
reader.SetReadVisible(true);
IFSelect_ReturnStatus status = reader.ReadFile(filename);
Handle(XCAFApp_Application) anApp = XCAFApp_Application::GetApplication();
anApp->NewDocument(DOCUMENT_FORMAT, m_document);
if (IFSelect_RetDone != status || !reader.Transfer(m_document, aPS.Next(50)))
return false;
Tue, 09/16/2025 - 12:38
I also encountered the same problem. The IGS model that has issues was also exported from Polyworks,The model reads normally with OCC version 7.6.2, but it does not read correctly with higher versions of OCC.
Tue, 09/16/2025 - 14:15
Hello, please reports bug to the GitHub (https://github.com/Open-Cascade-SAS/OCCT/issues/new/choose).
The issue can be related to the usage of some settings for Import, you can play a little with parameters from DEIGES_ConfigrationNode, DEIGES_Parameters (available for latest master).
Best regards, Dmitrii.