Commit 0e747819 authored by sumpfralle's avatar sumpfralle

fixed typo (caused DropCutter to return no results)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@731 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 6f6bdeac
...@@ -46,7 +46,7 @@ def _process_one_grid_line((positions, minz, maxz, dim_attrs, model, cutter, phy ...@@ -46,7 +46,7 @@ def _process_one_grid_line((positions, minz, maxz, dim_attrs, model, cutter, phy
result = get_max_height_triangles(model, cutter, x, y, minz, maxz, result = get_max_height_triangles(model, cutter, x, y, minz, maxz,
order=dim_attrs[:], last_pos=last_position) order=dim_attrs[:], last_pos=last_position)
if result: if result:
points.extend(points) points.extend(result)
else: else:
points.append(Point(x, y, safety_height)) points.append(Point(x, y, safety_height))
height_exceeded = True height_exceeded = True
......
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