From 0208643f7c457118f4493fbfd51d6917b8e51cce Mon Sep 17 00:00:00 2001 From: kreso-t Date: Sun, 2 Sep 2018 23:42:50 +0200 Subject: [PATCH] Path: Adaptive - fix for cut direction --- src/Mod/Path/libarea/Adaptive.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/libarea/Adaptive.cpp b/src/Mod/Path/libarea/Adaptive.cpp index 0f9de91820..93fe314d5c 100644 --- a/src/Mod/Path/libarea/Adaptive.cpp +++ b/src/Mod/Path/libarea/Adaptive.cpp @@ -1288,7 +1288,13 @@ namespace AdaptivePath { double angle = M_PI; engagePoint = toolPos; Interpolation interp; // interpolation instance - EngagePoint engage(toolBoundPaths); // engage point stepping instance + + Paths engageBounds = toolBoundPaths; + // for(size_t i=1;imin(long(toolRadiusScaled/4), long(RESOLUTION_FACTOR*8))) stepScaled=min(long(toolRadiusScaled/4), long(RESOLUTION_FACTOR*8)); if(stepScaled