[Deleted image]

I really not getting the algorithm of this structure, can someone help me out in this? Is this related to the twisted sine waves?

- Do some Surface (countless ways to do that).
- Divide the Surface (or the BrepFace). Say in V (along the axis) and U. Get the pts and the normals (sample all that in some sort of DT where branches are â€śalongâ€ť U).
- Within a double Loop (U,V) for each pt index in V use some logic to shift the start index (in U) and â€¦
- â€¦ If index is odd use a factor to reduce the sin/cos distortion (or as an option donâ€™t distort these pts) if is even use the full distortion.
**Plus**use a var to modulate the frequency (along the axis). - So given a distortion valueâ€¦ add to each div pt a Vector n (where n is the normal [the R Method yields an unitized Vector anyway] * distortion).
- Redo the Surface using the new pts.

In plain English you should apply this sort of stuff (as core logic) in many pts collections.

The main part is just a sort sinus that is shifted depending on the height

Or more likely a sort of tween between a sin(x

*n+shift) and sin(2*(x*n+shift))

There are many variation possible. It is basic math. Sinus, Abs, Tween â€¦ Graph Mapper could help a lot.

vase sinus.gh (16.7 KB)

I use rich graph mapper.

I am not so sure, but would the Rich Graph Mapper be replaced by the native one automatically?

I only see the native one after opening it.

I thing rich graph mapper just add curves to classical graph mapper. From my grasshopper i just have one graph mapper

Here the last version without special function

vase sinus.gh (22.1 KB)

Thanks for the Algorithm, but here i want to ask that if i want the design continues to draw while increasing the height. I mean design follows height. How would i make it possible?

Hello

you have many solutions

- Change the curve in Graphmapper as you change the height
- Write the equation
- You can use Graph mapper outside range, lets say you have base at 0 and reference height at 12 so that results to normalize values to [0, 1] , if you want a new height you just have to input in GraphMapper value [0, newHeight/referenceHeight]

Short example showing the same curve [0, 1] and [-1, 2]

Hello @laurent_delrieu,

Thankyou for the solution, but the solution is not working as I want it to work, as it design doesnâ€™t flows with the height. I need to make a continuous path without expanding the design. the design flows with the increase or decrease of height.

I donâ€™t want to make the design compressed, besides i want to move the design forward without expanding the design. I hope you understand.

I think the expression needs to be improve. i need an expression with the relation of height and design curve.

vase sinus (1).gh (22.7 KB)

Would geometry like this be useful for you? Iâ€™m working on this GH script for standard 3D printing, so the shapes are twisted solid Loft (Closed Brep) shapes. The GH file (right now) uses only standard Rhino 8 components, no trig or Graph Mappers.

Hello

I think I understand, I can get this

using my recommandation

Just the thing I didnâ€™t tested is that all curves doesnâ€™t work outside range.

You have a lot of work around.

Stay graph mapper x[0 to 1] and use a max height for example 100 that will be 1 in graph mapper. So if height is 50 domain must now be [0, 0.5]

Here I change the domain inside Graph Mapper from [0 to 2] with a reference heigth of 50, so max height must be 100.

Some graphs works outside range

Perlin, Power, Sinc, Sin, Sin Summation, Square root

You can also

Hi Manish , I know its off topic but Iâ€™m looking at what youâ€™ve printed here and I want to say itâ€™s a beautiful pattern, is it extruded clay?

here i had find a solution for the problem, i think it will work as temporary. here is the code:

vase sinus (1).gh (17.7 KB)

Hello @Paul_Bensel, i donâ€™t think so, itâ€™s a clay, as it is more looking like a concrete structure.

You need gcode for clay printing or surface ?

Thank you Manish, very nice pattern