Skip to content

Commit

Permalink
Merge pull request #312 from Effer/master-vasilis-heightmap-plugin
Browse files Browse the repository at this point in the history
Heightmap plugin: Single pass for finish
  • Loading branch information
vlachoudis committed May 4, 2016
2 parents bf30c39 + 7eee101 commit 823b16f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/heightmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(self, master):
("CutTop", "bool", False, _("Cut Top")),
("CutBorder", "bool", False, _("Cut Border")),
("Invert", "bool", False, _("Invert")),
("SinglePass", "bool", False, _("Single pass")),
("File", "file" , "", _("Image to process")),
]
self.buttons.append("exe")
Expand Down Expand Up @@ -132,6 +133,8 @@ def execute(self, app):
feed_rate = CNC.vars["cutfeed"]

zStep = CNC.vars['stepz']
if self["SinglePass"]:
zStep = 0.0
rough_offset = 0.0
rough_feed = CNC.vars["cutfeed"]

Expand Down

0 comments on commit 823b16f

Please sign in to comment.