diff --git a/src/Mod/TechDraw/App/TechDrawExport.cpp b/src/Mod/TechDraw/App/TechDrawExport.cpp index 4ceeda2656..ed6446fb46 100644 --- a/src/Mod/TechDraw/App/TechDrawExport.cpp +++ b/src/Mod/TechDraw/App/TechDrawExport.cpp @@ -521,7 +521,7 @@ void DXFOutput::printCircle(const BRepAdaptor_Curve& c, std::ostream& out) else { // See also https://developer.mozilla.org/en/SVG/Tutorial/Paths /*char xar = '0'; // x-axis-rotation - char las = (l-f > D_PI) ? '1' : '0'; // large-arc-flag + char las = (l-f > M_PI) ? '1' : '0'; // large-arc-flag char swp = (a < 0) ? '1' : '0'; // sweep-flag, i.e. clockwise (0) or counter-clockwise (1) out << " 0){ + if (a > 0) { double temp = start_angle; start_angle = end_angle; end_angle = temp;} @@ -562,9 +561,6 @@ void DXFOutput::printCircle(const BRepAdaptor_Curve& c, std::ostream& out) out << start_angle << endl; // Start angle out << 51 << endl; out << end_angle << endl; // End angle - - - } }