bsplinecurve result 3 3 0 4 3 1 4 4 0 0 0 1 1 2 0 20 2 3 0 3 3 2 0 0.04 2 0 0 5 pd pd pd pl pl pl val3d result 0 4 20 checklength result -l 5.5977288617103262