trmcnealy / carve

Automatically exported from code.google.com/p/carve
Other
0 stars 0 forks source link

Exception “didn't manage to link up hole!” upon calculating a union #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. intersect "cylinder.ply | sphere.ply"

What is the expected output? What do you see instead?

I try to form the union of a cylinder and a sphere (it sits at one of the 
cylinder’s ends), which should result in a cylinder with one rounded end.

Instead, I receive the following errors:

uncontained hole loop does not share vertices with any face loop!
CSG failed, exception: carve/lib/triangulator.cpp:899  "didn't manage to link 
up hole!"

Is this a feature or a bug?

What version of the product are you using? On what operating system?

latest code based, checked out from Mercurial and built on OS X 10.9

Please provide any additional information below.

I thought perhaps the problem is that the sphere meets the cylinder 
tangentially, but then this other example works:

intersect "CUBE | TRANS(0.5,0,0,CUBE)"

Original issue reported on code.google.com by tiptopl...@gmail.com on 9 Dec 2013 at 7:07

Attachments: