Commit ac48ae81 authored by sumpfralle's avatar sumpfralle

fixed typo


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@791 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent c4aef07b
......@@ -205,7 +205,7 @@ class ContourFollow:
miny = max([m.miny for m in self.models])
model_dim = max(abs(maxx - minx), abs(maxy - miny))
depth = math.log(accuracy * model_dim / self.cutter.radius) / math.log(2)
self._physics_maxdepth = min(max_depth, max(ceil(depth_x), 4))
self._physics_maxdepth = min(max_depth, max(ceil(depth), 4))
def _get_free_paths(self, p1, p2):
if self.physics:
......
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