Need help with curve script

I found a script by batfinger & have been trying to modify it to distribute a custom count of ico spheres along the curve, but no luck getting it to work on a custom drawn curve(extrusions), any reason for this?

Have tried apply the scale.

Here is a .blend ico_curve_example.blend (875.2 KB)

it includes the script so you can try it.

Works good with Bezier type.
If you’re generating a curve, make sure to set the type to ‘BEZIER’

1 Like

:man_facepalming:

thanks! it worked, it was set to NURBS haha