Incremental division of surface. (Tentacle )

Hi Everyone!

I’m kinda stuck with this tentacle. What i need is to make the suction cups amount increasing to the end of the tentacle.

The way I placed them on a tentacle is - I divided the loft by Divide Surface, then oriented the cups on its normals.

So i guess the problem can be reduced to - how do I incrementally divide surface in Divide Surface comp? Because when i try to do that with standard Graph Mapper thing it gives me this weird results.


Tentacle Caps 2.gh (55.5 KB)

1 Like

you are doing something very beautiful!!! :+1:

a basic approach might be to play with a graph mapper like this:

Tentacle Caps 2_inno.gh (53.6 KB)

1 Like

Wow! This way is so much better! Thank you a lot!

I did try to use Evaluate Surface but I didn’t Reparametrize the input. So it didn’t worked. What exactly it (reparametrize) do here?

Very cool, nice work. There is a lot that can be done with this. As usual (for me), I saw a different path and took it. Stopped short of a full rewrite so there is still more to do.

Instead of Divide Surface, it made more sense to me to apply Graph Mapper to curves, though I see that @inno apparently got good results with far fewer changes.

The blue group sliders choose curves for the suction cups to follow, which are then shortened to prevent cups crossing the edges. I left your “SUCTION CUPS MESS” group intact, far off to the right (not shown) because 1) there was no need to change it and 2) I couldn’t easily move it.

I modified your “RADIUS OF CUPS” and “CUPS HIGHT DEPENDS ON CURVE LENGTH” groups to use the same Graph Mapper, though work was dragging on by this point… :zzz:


Tentacle_2024Sep28a.gh (35.2 KB)

Oh yeah, I skipped your modified surface and just used the VPipe output. Way too much time spent, but maybe an idea ot two will be useful?

3 Likes

Reparametrize sets both U and V Surface Domains to [0, 1]
that works pretty well with Range, which has a Default Domain (if nothing else is plugged) of [0, 1] and same thing for Graph Mapper, which has the same Default Domain along X and Y of [0, 1], so it just simplifies very much things

1 Like

You’ve completely overhauled the thing!!! Its much more elegant version now. I’ve learned a lot from your edit. Thank you very much for you time!

Thank you!

Disable SUnion to play with parameter values because it’s SLOW.

Tentacle_2024Sep28a2

2 Likes

:+1: