Metaball on a curve

Hi I’m trying to do this thing where I need a meta ball to flow along this curve. My current script only allows the mata ball to be contained in a box. How should I change my script?

Many thanks!

Meta ball script: (19.4 KB)

file_1_1209_metaball_stair.3dm (4.9 MB)

I don’t know what metaballs are, but is this what you try to achieve? (the solid union is disabled, because it can take some time. If it fails the tolerance should be lowered) (17.8 KB)

Use Cocoon (13.7 KB)

Thanks I learnt something new today!

Thank you this really helps!