Path.Area: make XY plane selection explicit

This commit is contained in:
Zheng, Lei
2017-04-08 17:02:32 +08:00
committed by Yorik van Havre
parent 87dc72e2ef
commit 92e6edff90

View File

@@ -2592,8 +2592,10 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &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())