Commit 0a5f423d authored by sumpfralle's avatar sumpfralle

ignore only triangles for further processing if the triangle is completely...

ignore only triangles for further processing if the triangle is completely above the current cutter location


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@713 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 8bbb1a5f
......@@ -451,7 +451,9 @@ class ContourFollow:
result.append((cl, edge))
# continue with the next outer_edge
break
if len(result) == 0:
# Don't check triangles again that are completely above the z level and
# did not return any collisions.
if (len(result) == 0) and (triangle.minz > z):
self._processed_triangles.append(id(triangle))
return result
......
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