Skip to content

Commit

Permalink
disable conversion of BSplines to circles in SVG drawing output
Browse files Browse the repository at this point in the history
partly revert 0a31beb
  • Loading branch information
5263 committed Feb 10, 2015
1 parent 7b34d02 commit 12407a1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Mod/Drawing/App/DrawingExport.cpp
Expand Up @@ -190,14 +190,14 @@ std::string SVGOutput::exportEdges(const TopoDS_Shape& input)
printEllipse(adapt, i, result);
}
else if (adapt.GetType() == GeomAbs_BSplineCurve) {
TopoDS_Edge circle = asCircle(adapt);
if (circle.IsNull()) {
// TopoDS_Edge circle = asCircle(adapt);
// if (circle.IsNull()) {
printBSpline(adapt, i, result);
}
else {
BRepAdaptor_Curve adapt_circle(circle);
printCircle(adapt_circle, result);
}
// }
// else {
// BRepAdaptor_Curve adapt_circle(circle);
// printCircle(adapt_circle, result);
// }
}
else if (adapt.GetType() == GeomAbs_BezierCurve) {
printBezier(adapt, i, result);
Expand Down

0 comments on commit 12407a1

Please sign in to comment.