Commit 6fb115db authored by sumpfralle's avatar sumpfralle

fixed a collision detection bug for spherical cutters

* the early return caused by an edge-sphere collision was not correct


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@919 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent bde5053c
......@@ -234,8 +234,6 @@ class SphericalCutter(BaseCutter):
d = d_e3
cl = cl_e3
cp = cp_e3
if cl and (direction.x == 0) and (direction.y == 0):
return (cl, d, cp)
(cl_p1, d_p1, cp_p1) = self.intersect_sphere_vertex(direction,
triangle.p1, start=start)
(cl_p2, d_p2, cp_p2) = self.intersect_sphere_vertex(direction,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment