From 7eee101212caa1a335094b657caefa265c813f78 Mon Sep 17 00:00:00 2001 From: Effer Date: Tue, 3 May 2016 21:19:01 +0200 Subject: [PATCH] Heightmap plugin: Single pass for finish --- plugins/heightmap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/heightmap.py b/plugins/heightmap.py index ed30043d1..f9c2aa39f 100644 --- a/plugins/heightmap.py +++ b/plugins/heightmap.py @@ -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") @@ -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"]