From f711cfb192c253e548825d2b335ea51a3e0922b1 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Tue, 11 Jun 2019 21:59:47 -0500 Subject: [PATCH] Path: vcarve add feed rate --- src/Mod/Path/PathScripts/PathVcarve.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathVcarve.py b/src/Mod/Path/PathScripts/PathVcarve.py index cf9d80cf9d..6209f90377 100644 --- a/src/Mod/Path/PathScripts/PathVcarve.py +++ b/src/Mod/Path/PathScripts/PathVcarve.py @@ -147,7 +147,7 @@ class ObjectVcarve(PathEngraveBase.ObjectOp): for point in step: p = point[0] z = calculate_depth(-(point[1])) - path.append(Path.Command("G1 X{} Y{} Z{}".format(p.x, p.y, z))) + path.append(Path.Command("G1 X{} Y{} Z{} F{}".format(p.x, p.y, z, obj.ToolController.HorizFeed.Value))) path.append(Path.Command("G0 Z{}".format(safeheight))) @@ -207,6 +207,7 @@ class ObjectVcarve(PathEngraveBase.ObjectOp): # we only consider the outer wire if this is a Face modelshape = self.model[0].Shape + modelshape.tessellate(0.01) self.buildPathMedial(obj, modelshape.Faces, zValues, modelshape.BoundBox.DiagonalLength/2) # self.wires = wires