Curve middle line

Hi,

I need to make something like this:

But not limited to a fixed distance between lines (offset)…

So, I need to infill a area of closed line and divide the area to create X number of lines like the image, and create something like a “sin”

sinus

Any idea ?

Similar to this (this shape is perfect, but is limited to offset):

similar post

Try to use pufferfish plugin’s Net On Surface component.


I need to update that, I guess he wants to be able to have a offset distance between them for the extrusion thickness.

1 Like

Hi,

Here’s a ‘retarded’ way of doing it:
sine_boudary_fill_01.gh (29.0 KB)

WOW… you are amizing :slight_smile: I will test …thanks.

ok.

If I duplicate the RED curve with negative formula (-y*sin(x) - GREEN curve) I get what I need but I think that is not the best solution:

It’s possible to create a “flip-flop” (+ / - / + / - etc…) to obtain the touch between axis ?

image

for sure, but I don’t want to do that :smiley:

keep it retarded via mirror
sine_boudary_fill_01_b.gh (27.8 KB)

[edit] sorry didn’t pay attention to color-coding

how dare you!

I remember dealing with a concrete printer, just wanted to give you some play :stuck_out_tongue_winking_eye:

here domain is kept fixed
sine_boudary_fill_01_c.gh (19.9 KB)

ahha … I’m talking about “my solution” (my changes in your solution) , not yours :smile:

Thanks again… :wink:

yes :grinning:

you’re welcome! I hope it helps!

Hi,

I tested the system but I have a problem. I can not cross lines :frowning:

image

Only like:

Did you try the Pufferfish component?

No, because I need to make all the system without any component… only native code.

Idea is to use offset from curves…

What do you think ?

I am sorry @jdsilvapereira, I am not following you at the moment - The initial file that was shared with you had that, didn’t it?

I mean this

then you wanted to invert the sine curve and I suggested mirroring, simply that - the curves were never crossing and if you don’t preview the ones mirrored then you’re left with non-crossing curves -

so what do you want?:grin:

Clarity is important as this is the first time you write ‘you cannot have them crossing’ and also that ‘you can’t use plugins’ after others kindly suggested pufferfish earlier.

I suggest something like this, so you don’t have intersecting paths and also you can define distance between bumps for material thickness.




Net.gh (15.9 KB)

1 Like

Hi,

Yeah, it’s like your example:
image

But I test your code and my shape and result is:

image

I change all values but without success !!

Hi @Michael_Pryor

Nice :slight_smile: How I can adjust this to my closed curve ?

you’ll have to put your pentagon on top of all that then trim what’s outside, but you’ll end up with this:
image
again if the pattern isn’t rotated along or remapped to your boundary

repeating myself because nobody here knew you intended to rotate your shapes

here’s an update:
sine_boudary_fill_01_d.gh (68.1 KB)

bake the internalized polygon and reinstate like in the video below to test your rotations


NetTrim.gh (19.9 KB)

Hi,

I get an error:
image

I fix with this:
image

Thanks I will test.