From d9565863310a1f4f355b00e062dff97fd95ffa58 Mon Sep 17 00:00:00 2001 From: Patrick F Date: Sun, 3 Jan 2021 17:21:05 +0100 Subject: [PATCH] [PATH] Bugfix centroid_post --- src/Mod/Path/PathScripts/post/centroid_post.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/post/centroid_post.py b/src/Mod/Path/PathScripts/post/centroid_post.py index 1b4669b855..00c9c3244c 100644 --- a/src/Mod/Path/PathScripts/post/centroid_post.py +++ b/src/Mod/Path/PathScripts/post/centroid_post.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- # *************************************************************************** # * Copyright (c) 2015 Dan Falck * +# * Copyright (c) 2020 Schildkroet * # * * # * This file is part of the FreeCAD CAx development system. * # * * @@ -93,7 +94,8 @@ PREAMBLE = '''G53 G00 G17 POSTAMBLE = '''M99 ''' -TOOLRETURN = '''M5 M25 +TOOLRETURN = '''M5 +M25 G49 H0 ''' # spindle off,height offset canceled,spindle retracted (M25 is a centroid command to retract spindle)