From d4c65e570e0d081713f5d152558595f5e6774a9d Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 3 Nov 2016 08:25:43 +0300 Subject: [PATCH] Fix incorrect orientation of external arc (issue #1687) --- src/PartSet/PartSet_Tools.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PartSet/PartSet_Tools.cpp b/src/PartSet/PartSet_Tools.cpp index d88fd2ac2..5e526d36a 100755 --- a/src/PartSet/PartSet_Tools.cpp +++ b/src/PartSet/PartSet_Tools.cpp @@ -502,6 +502,8 @@ ResultPtr PartSet_Tools::createFixedObjectByExternal(const TopoDS_Shape& theShap if (anEdge->isArc()) { // Create arc aMyFeature = theSketch->addFeature(SketchPlugin_Arc::ID()); + if (theShape.Orientation() == TopAbs_REVERSED) + aMyFeature->boolean(SketchPlugin_Arc::INVERSED_ID())->setValue(true); } else { // Create circle -- 2.39.2