Part: update GeomSurface.toBSpline doc

This commit is contained in:
tomate44
2020-12-07 08:49:16 +01:00
committed by wwmayer
parent e7c06e8483
commit 75a2f471ea
2 changed files with 13 additions and 10 deletions

View File

@@ -708,8 +708,10 @@ Py::String GeometrySurfacePy::getContinuity(void) const
PyObject* GeometrySurfacePy::toBSpline(PyObject * args)
{
double tol3d=Precision::Confusion();
char *ucont="G2", *vcont="G2";
int maxDegU=25,maxDegV=25,maxSegm=1e5,prec=0;
char *ucont="C1", *vcont="C1";
// 25 = Geom_BSplineSurface.MaxDegree()
int maxDegU=25, maxDegV=25;
int maxSegm=1000, prec=0;
if (!PyArg_ParseTuple(args, "|dssiiii",&tol3d,&ucont,&vcont,
&maxDegU,&maxDegV,&maxSegm,&prec))
return 0;