Commit 8daedfe4 authored by sumpfralle's avatar sumpfralle

r705@erker: lars | 2010-02-22 00:51:52 +0100

 fixed remaining reference to INFINITE (now: safe height)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@157 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent b633f23f
...@@ -149,7 +149,7 @@ class DropCutter: ...@@ -149,7 +149,7 @@ class DropCutter:
box_y_min = p.y - self.cutter.radius box_y_min = p.y - self.cutter.radius
box_y_max = p.y + self.cutter.radius box_y_max = p.y + self.cutter.radius
box_z_min = dim_height.end box_z_min = dim_height.end
box_z_max = +INFINITE box_z_max = self._safe_height
triangles = self.model.triangles(box_x_min, box_y_min, box_z_min, box_x_max, box_y_max, box_z_max) triangles = self.model.triangles(box_x_min, box_y_min, box_z_min, box_x_max, box_y_max, box_z_max)
for t in triangles: for t in triangles:
if t.normal().z < 0: continue; if t.normal().z < 0: continue;
......
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