From 92e6edff90694d385ff010c63c6d996da6b6969c Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sat, 8 Apr 2017 17:02:32 +0800 Subject: [PATCH] Path.Area: make XY plane selection explicit --- src/Mod/Path/App/Area.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index 8b917e7e2e..d2d8db8fb0 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -2592,8 +2592,10 @@ void Area::toPath(Toolpath &path, const std::list &shapes, addGCode(path,"G18"); else if(arc_plane==ArcPlaneYZ) addGCode(path,"G19"); - else + else { currentArcPlane=ArcPlaneXY; + addGCode(path,"G17"); + } threshold = fabs(threshold); if(threshold < Precision::Confusion())