Fix TD Dfx export - spline conversion

This commit is contained in:
wandererfan
2019-03-21 12:17:04 -04:00
committed by Yorik van Havre
parent 0d60f6dc79
commit 626ee0c98d
2 changed files with 2 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ BSpline::BSpline(const TopoDS_Edge &e)
}
Standard_Real tol3D = 0.001; //1/1000 of a mm? screen can't resolve this
Standard_Integer maxDegree = 3, maxSegment = 100;
Standard_Integer maxDegree = 3, maxSegment = 200;
Handle(BRepAdaptor_HCurve) hCurve = new BRepAdaptor_HCurve(c);
// approximate the curve using a tolerance
//Approx_Curve3d approx(hCurve, tol3D, GeomAbs_C2, maxSegment, maxDegree); //gives degree == 5 ==> too many poles ==> buffer overrun