[BUG] Meshing a torus fail

Hi,

Here is a simple program to reproduce a bug in BRepMesh_FastDiscretFace. It meshes a torus with
different radius, as a prim surface and as nurbs surface.

With this workaround (yes only workaround, I didn't find the real bug) ...

http://git.debian.org/?p=debian-science/packages/opencascade.git;a=blob_...

... the mesher doesn't fail when the radius is over 16 and it reduces the number of created triangles.

Jerome

Related:
http://www.opencascade.org/org/forum/thread_20076/
http://groups.google.com/group/oce-dev/browse_thread/thread/20b05eb496a7...

Attachments: 
Forum supervisor's picture

Hi Jerome,
I would like to inform you that the posted problem is checked and reproduced.
The corresponding issue with ID = OCC22445 has been registered.
Later you can know if the issue is resolved by checking references to the specified ID in OCCT Release Notes. The analysis of the issue will take some time depending on our technical capability and availability of resources.
If you can't wait and the problem is urgent for you, you may contact us via Contact Form http://www.opencascade.org/about/contacts/.
We will try to find a solution/workaround acceptable for you.
Regards

Jerome Robert's picture

The mesh size problem is fixed in OCCT 6.5.1 but the segfault at radius 17 is still there.

Forum supervisor's picture

Dear Jerome,
The reported problem is checked and reproduced.
The already registered bug with ID=22445 is reopened.
Thanks for the report.
Regards