Commit 96ffabc3 authored by sumpfralle's avatar sumpfralle

don't fail for zero-height processing areas


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@577 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 7c77e1e8
......@@ -246,6 +246,8 @@ def generate_toolpath(model, tool_settings=None,
dz = step_down
else:
dz = maxz - minz
if dz <= 0:
dz = 1
if direction == "x":
dx, dy = 0, stepping
elif direction == "y":
......
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