Ok, spline mesh is very different from meshes on a spline
Typical spline mesh code is
and the length of each mesh is dictated by where you put the points.
You can still choose meshes randomly, but it’s up to you when you make another point.