Sine curves in a rectangle

Hello everyone,
I am looking for help with this problem. I would like to “cut” the smaller rectangle out of the larger one, or create it as a line and then extrude it to 4 mm wide.
What tool can I use for this or what other ideas are there?
Another question is how can I connect the points on the X and Y axis or create a whole sine curves line? And how can I connect the intersection points of all curves?

Thanks a lot!



Sine curves in a rectangle.gh (17.4 KB)

missing

You can make you edge box like this:


Sine curves in a rectangle_2023Sep14a.gh (19.4 KB)

As for your sine curves, you’ve copy/pasted a lot of code to make them twice instead of just rotating one set by 90 degrees.

1 Like

Maybe something along these lines?


Sine curves in a rectangle_2023Sep14b.gh (20.0 KB)

Alignment and scale (frequency) of the sine curves looks less than ideal?

1 Like

Thank you very much for the help.
I think I expressed myself wrongly, I meant to connect the intersection points of the sine curves so that it results in a line/net.
Does it make sense to first “deconstruct brep” and then “join brep” everything together again?

A “net”? Do you mean a mesh? I think maybe you don’t know how Rhino / Grasshopper works.

No.

There are anomalies in the earlier code (one of which I added myself) that made the results chaotic. This version appeals more to my sense of symmetry, The red group is very slow :exclamation:


Sine curves in a rectangle_2023Sep14d.gh (34.3 KB)

P.S. One further refinement - parameterize the Range ‘N’ input based on the ‘N_sines’ slider (blue group) times the ‘Steps’ slider, which is now steps per sine wave, a low number.
Replaced image and version Sep14c.gh.

2 Likes