skFitSpline
Discussion List
-
skFitSpline and bSplineCurve .controlPoints
Hello, I draw a spline on sketch1: skFitSpline(sketch1, "spline1", { "points" : [ vector( 0 , 0) * centimeter, vector( 100, 100) * centimeter ], "startDerivative" : vector(150 , 0) * centimeter, "endDerivative" : vector(0 , 150) * centimeter, }); test: same with code formatting <div> skFitSpline(sketch1, "spline1",…
-
Splines in Onshape - (almost) everything you want to know
Greetings, Recently I've been doing a fair bit of experimentation with splines in Onshape, and in the process I've written a small treatise on my blog about splines, B-splines, offset curves, etc., together with some code examples in FeatureScript. If you've been puzzled by skFitSpline(), opFitSpline(),…
-
Many points and skFitSpline
Hi I am automating a profile connecting many points with skFitSpline and the resulting spline misses most of the points specified. the snippet of code is as follows: skFitSpline(sketch1, "camberSpline", { "points" : pointsCamber }); where pointsCamber is an array of many vectors. any ideas as to how i could improve this…