From 017d495a4123506e4360429aef44b8caf0744df3 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 22 Aug 2019 23:09:41 +0300 Subject: [PATCH] - fixed TclCommandFollow command; an older function name was used who yielded wrong results --- FlatCAMObj.py | 4 ++-- README.md | 1 + tclCommands/TclCommandFollow.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/FlatCAMObj.py b/FlatCAMObj.py index f940fd08..ffb024f5 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -773,7 +773,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber): if self.ui.follow_cb.get_value() is True: obj = self.app.collection.get_active() - obj.follow() + obj.follow_geo() # in the end toggle the visibility of the origin object so we can see the generated Geometry obj.ui.plot_cb.toggle() else: @@ -785,7 +785,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber): if self.ui.follow_cb.get_value() is True: obj = self.app.collection.get_active() - obj.follow() + obj.follow_geo() # in the end toggle the visibility of the origin object so we can see the generated Geometry obj.ui.plot_cb.toggle() else: diff --git a/README.md b/README.md index 4911e47f..0a143e8f 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ CAD program, and create G-Code for Isolation routing. - moved the canvas setup into it's own function and called it in the init() function - fixed the Buffer Tool in Geometry Editor; made the Buffer entry field a QDoubleSpinner and set the lower limit to zero. - fixed Tool Cutout so when the target Gerber is a single Polygon then the created manual geometry will follow the shape if shape is freeform +- fixed TclCommandFollow command; an older function name was used who yielded wrong results 21.08.2019 diff --git a/tclCommands/TclCommandFollow.py b/tclCommands/TclCommandFollow.py index 8af7bf3e..e9a5a905 100644 --- a/tclCommands/TclCommandFollow.py +++ b/tclCommands/TclCommandFollow.py @@ -57,7 +57,7 @@ class TclCommandFollow(TclCommandSignaled): del args['name'] try: - obj.follow(**args) + obj.follow_geo(**args) except Exception as e: return "Operation failed: %s" % str(e)