From: azv Date: Thu, 3 Nov 2016 05:25:43 +0000 (+0300) Subject: Fix incorrect orientation of external arc (issue #1687) X-Git-Tag: V_2.6.0~125 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d4c65e570e0d081713f5d152558595f5e6774a9d;p=modules%2Fshaper.git Fix incorrect orientation of external arc (issue #1687) --- 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