
Fri, 05/30/2025 - 13:37
Good day,
The attached step file contains a face made from a truncated Cone surface. It was originally part of a much larger and complex model. We are developing a software using OpenCascade 7.8.0, and when loading the model, we find that this face has a null triangulation. Our code loads the file using the STEPCAFControl_Reader class, because we wish to retain color information.
Further information:
- CAD Assistant (OCCT 7.6.0) loads and displays the shape correctly.
- FreeCAD 0.21.1 loads and displays the shape correctly.
- draw.bat (OCCT 7.8.0) loads the shape, and reports no issue using the "checkshape" command. When visualizing the shape in the 3D viewer, only a wireframe is shown. I have made sure the display is set to solid with "vsetdispmode 1" and by loading another shape that indeed displays as filled.
- draw.bat (OCCT 7.9.1) shows the same behaviour as the 7.8.0 version.
- Our code (C# wrapper of OCCT 7.8.0) using STEPCAFControl_Reader, as already explained, yields a null triangulation.
This is not the first time we find ourselves unable to triangulate Conical or Cylindrical surfaces, so any help in identifying the issue would be appreciated.
Fri, 05/30/2025 - 15:05
Many thanks for the simple file to reproduce. Could you please create an issue on GitHub? https://github.com/Open-Cascade-SAS/OCCT/issues/new/choose
That is regression, that difficult to detect, but your file will help a lot. It is an issue during import (Shape healing)
Best regards, Dmitrii.
Fri, 05/30/2025 - 17:38
Thank you for the answer, I opened an issue at https://github.com/Open-Cascade-SAS/OCCT/issues/572
Best regards