How have the knots and mults to be of Geom_BSplineCurve ?

Hello,

im new with OCC, how should i specify the knots and mults of Geom_BSplineCurve, i already get an exception,

N = 5;
degree = 3;

i specified Knot length = N + (degree+1) // (0, 0, 0,0, 0.1, 0.2, 0.3, 1,1, 1, 1) can i specfiy the knots like 0,0,0,0,1,2,3,3,3,3 (i mean must the knots range be from 0 to 1???)

Mults length = N - (degree +1)

can anyone give me an example to specfiy this two paramters...

i would be very happy for any tips.

Steven

Patrik Mueller's picture

Hi Steven,

perhaps this topic could help you:

http://www.opencascade.org/org/forum/thread_4444/

Greets,

Patrik