Make a horizontal wavy line

Hello.
Does anyone know how to fix ①②?
Or is there an easier way to make them?

①I want to make below picture’s shape.
I think the cause is that the position of the point is shifted on the Z axis.

②And, I want to join pipe when I make pipes.
But It’s like to below picture now.

skin weave.3dm (146.4 KB)
skin weave.gh (25.4 KB)

to avoid this crest you need to set Periodic = True on the Interpolate Curves:

about the main question, I don’t really understand how the geometry should behave and why the Rotate component is used

1 Like

Thank you for teaching me about②!
Maybe I can make it easier about①…