Commit 2acfca39 authored by lode_leroy's avatar lode_leroy

fix bug in cylinder cutter on horizontal line

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@225 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 418e1079
......@@ -143,10 +143,10 @@ def intersect_circle_line(center, axis, radius, radiussq, direction, edge):
cp = None
if d1>-a and d1<a:
ccp = p1
cp = p1
cp = p1.sub(direction.mul(l))
elif d2>-a and d2<a:
ccp = p2
cp = p2
cp = p2.sub(direction.mul(l))
elif (d1<-a and d2>a) or (d2<-a and d1>a):
ccp = pc
cp = pc.sub(direction.mul(l))
......
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