Creating Rectangular shape with varying height around a curve

Hi all!
I am trying to create a rectangular cuboid (of predefined varying heights) around a curve but unfortunately could not make it.

In the file, the rectangular cuboid is of a constant height, which is not desired.

Does anyone know how to make it? The file is attached herewith.

Thanks

Rectangular_Shape_of_varying_heights.gh (29.8 KB)

Hi,

Like this ?

Rectangular_Shape_of_varying_heights_re.gh (32.8 KB)

1 Like