Commit 893852d6 authored by lode_leroy's avatar lode_leroy

fix bug in toroidal cutter on horizontal plane

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@226 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 2acfca39
......@@ -162,7 +162,7 @@ class ToroidalCutter(BaseCutter):
return (cl,l)
def intersect_circle_plane(self, direction, triangle):
(ccp,cp,l) = intersect_circle_plane(self.center, self.majorradius, direction, triangle)
(ccp,cp,l) = intersect_circle_plane(self.location, self.majorradius, direction, triangle)
# offset intersection
if ccp:
cl = cp.sub(ccp.sub(self.location))
......
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