From b76dd8fad229a2a8bd5857a966909fa2ab94febb Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 29 Mar 2017 12:01:10 +0300 Subject: [PATCH] Issue #2024: Redesign of circle and arc of circle Fixed arc orientation when creating by 3 point --- src/SketchPlugin/SketchPlugin_MacroArc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SketchPlugin/SketchPlugin_MacroArc.cpp b/src/SketchPlugin/SketchPlugin_MacroArc.cpp index de876dc96..cd199d936 100644 --- a/src/SketchPlugin/SketchPlugin_MacroArc.cpp +++ b/src/SketchPlugin/SketchPlugin_MacroArc.cpp @@ -366,6 +366,7 @@ void SketchPlugin_MacroArc::fillByThreePassedPoints() std::shared_ptr anAxis = SketchPlugin_Sketch::plane(sketch()); GeomAPI_Circ2d aCircle(myStart, myEnd, aPassed, anAxis); myCenter = aCircle.center(); + aCircle = GeomAPI_Circ2d(myCenter, myStart); recalculateReversedFlagByPassed(aCircle); } else -- 2.39.2