Commit eeed6639 authored by sumpfralle's avatar sumpfralle

EngraveCutter should ignore material allowance


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@378 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 69af98d6
...@@ -83,11 +83,15 @@ def generate_toolpath(model, tool_settings=None, ...@@ -83,11 +83,15 @@ def generate_toolpath(model, tool_settings=None,
minx, maxx, miny, maxy, minz, maxz = bounds minx, maxx, miny, maxy, minz, maxz = bounds
# trimesh model or contour model? # trimesh model or contour model?
if isinstance(model, pycam.Geometry.Model.Model): if isinstance(model, pycam.Geometry.Model.Model):
# trimesh model
trimesh_model = model trimesh_model = model
contour_model = None contour_model = None
else: else:
# contour model
trimesh_model = pycam.Geometry.Model.Model() trimesh_model = pycam.Geometry.Model.Model()
contour_model = model contour_model = model
# material allowance is ignored for engraving
material_allowance = 0.0
# create the grid model if requested # create the grid model if requested
if (not support_grid_distance is None) \ if (not support_grid_distance is None) \
and (not support_grid_thickness is None): and (not support_grid_thickness is None):
......
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