# Sine wave by curve

Hi!

Is it possibile to draw a sine wave upgraded along an arc or a curve?

Thank you so much.

1 Like

Iâ€™m not much of a Dynamo drawer, but I could do the maths for you on this oneâ€¦

This would be perfect. After i can try to write the dynamo code. Thank!

Well, there you go.

3 Likes
1 Like

Gave it a little clean up actually connected the radius.

1 Like

That is perfect thank you so much!!!

I just thought: what if considers a different form than the circle Iâ€™ve just drawn, I could modify it to work for that but it currently canâ€™t do that.

But,can i write the same formule but with 1 curve of three points without using the code block 1â€¦360â€¦1?

I need to use spatial coordinates to draw an architecture element

Do you think you could create a list of the specific angles the larger curve would be add from moment to moment?

Thatâ€™s actually pretty easy to achieve if you have a line of points, could you give an example of a line youâ€™d want?

like this

Sine on curve.dyn (16.6 KB)
This took me way more time than it should, I generated the curve differently than you did because I lack a specific node.

4 Likes

Itâ€™s perfectâ€¦you are a genius!!!

Merci beaucoup!!!

Iâ€™m far from the smartest person on this forum though.
If a comment solves your problem, please mark it as solution (also maybe leave a like here and there).

1 Like

Last questionâ€¦but if i want extrude the sinusoid with a curve or an arc, how can i do this?

To be honest, I have no idea, as I said Iâ€™m not experienced with actually drawing things within Dynamo (Iâ€™ve mostly been controlling Revit with it, so a whole lot of list and data manipulation).
Itâ€™s probably worth starting a new topic on the specifics of drawing it, I think my maths result is doing fine as a groundwork, but I donâ€™t have a clue on how to actually draw a nice 3D shape on it.

1 Like

ok thank you!!

You know, you can only like one comment as solution.
I donâ€™t think the last one I posted is going to help anyone who want something similar.
Iâ€™ll mark the â€śrightâ€ť as solution for you now

I know thatâ€™s a bit too far to ask but could you please explain the solution. I mean the Sine, Cosine, Atan Part.