Problem Triangulating a Shape

Hi,
I've a problem with the BRepMesh::Mesh method.
When I try to triangulate a sphere I obtain a bad result:

http://img183.imageshack.us/img183/392/sphere.jpg

How I can fix this?

Thanks
Saretto

Pawel's picture

Hi Saretto,

it's not a bug it's a feature...

Actually, the triangulation is correct. Consult the 'TopologyTriangulation' example.

There are a couple of threads on this forum on using an alternative mesher with OCC. Maybe you could have a look.

Pawel

Saretto's picture

Thank you Pawel, i've used NetGen, it works very good!!
Thank you for help!!

Bye
Saretto