From a24f34ed642ae0aef8a5100f7876c5423d8a09fa Mon Sep 17 00:00:00 2001 From: kreso-t Date: Sat, 1 Sep 2018 18:24:14 +0200 Subject: [PATCH] Path: Adaptive - bugfix --- src/Mod/Path/libarea/Adaptive.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/libarea/Adaptive.cpp b/src/Mod/Path/libarea/Adaptive.cpp index e92f4a17cc..e1de31d59b 100644 --- a/src/Mod/Path/libarea/Adaptive.cpp +++ b/src/Mod/Path/libarea/Adaptive.cpp @@ -1088,7 +1088,7 @@ namespace AdaptivePath { clipof.Clear(); clipof.AddPaths(toolBoundPaths,JoinType::jtRound,EndType::etClosedPolygon); Paths sol2; - clipof.Execute(sol2,toolRadiusScaled*stepOverFactor); + clipof.Execute(sol2,toolRadiusScaled*stepOverFactor*2); clipof.Clear(); clipof.AddPaths(sol2,JoinType::jtRound,EndType::etClosedLine); clipof.Execute(cleared,toolRadiusScaled); @@ -1304,6 +1304,12 @@ namespace AdaptivePath { #ifdef DEV_MODE clock_t start_clock=clock(); #endif + if(outsideEntry) { + engage.moveToClosestPoint(toolPos,stepScaled+1); + firstEngagePoint=false; + toolPos = engage.getCurrentPoint(); + toolDir = engage.getCurrentDir(); + } /******************************* * LOOP - PASSES