From 7c3b6dd9cfa42a4910fa4745f473c80e30a039d6 Mon Sep 17 00:00:00 2001 From: tarman3 Date: Thu, 15 May 2025 21:10:02 +0300 Subject: [PATCH] CAM: Do not create useless G0 X0 Y0 movements for mutliprofile operations --- src/Mod/CAM/Path/Op/Area.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Op/Area.py b/src/Mod/CAM/Path/Op/Area.py index 8a2bbb2a3b..4e9f40e974 100644 --- a/src/Mod/CAM/Path/Op/Area.py +++ b/src/Mod/CAM/Path/Op/Area.py @@ -290,7 +290,8 @@ class ObjectOp(PathOp.ObjectOp): pathParams["threshold"] = 2.001 * self.radius if self.endVector is not None: - pathParams["start"] = self.endVector + if self.endVector[:2] != (0, 0): + pathParams["start"] = self.endVector elif PathOp.FeatureStartPoint & self.opFeatures(obj) and obj.UseStartPoint: pathParams["start"] = obj.StartPoint