Help pls - beginner perforated metal

hey, struggeling with precision here…

so

  1. when i use solid difference at the end, it doesnt cut out the circles from the square alltogether but i get loads of squares with one row cut out…
  2. when i adjust the size of the square, the distance between the circles changes… so its not a pattern but rather circles spred on a square?..

ty in advance :3

lochblech versuch 2.gh (11.9 KB)

this is how far i got until now

There is no need for Solid Difference if you are creating holes instead of “dimples” (holes that don’t go all the way through). With 8282 holes, it’s debatable which method is faster :exclamation:

Boundary is extremely slow (1.7 minutes) with that many circles. I added some culling of points to prevent circles outside the rectangle.


lochblech_2024Aug27a.gh (20.9 KB)

1 Like

Hey Joseph, thank you very much – it does work now!
Could you help me find a way that this pattern can be applied to surfaces of different sizes and also on bend surfaces (like a radius).

As soon as I adjust the size from let’s say 2000 to 1000, the circles start overlapping instead of keeping the distance to each other

ty again, brilliant help so far :smiley:

That’s probably because the vector you are using to copy/move the circles (points) does not use ‘Radius’ as a factor? Would have been smart to begin with a smaller number of circles and increase that number after it behaves “properly” (whatever that may be).

Do you want to set ‘Radius’ and compute ‘U Count’ and ‘V Count’? Or the other way around?

oh wow… sometimes i just miss “simple” stuff like that…
still realy struggling with GH…

what would you consider the smarter way?
like is one of these solutions less intense for my pc? xD

Here is something that computes ‘U Count’ and ‘V Count’ based on rectangle size, hole radius and ‘Gap’ slider, but does not handle radiused rectangles. Don’t have time now to dig deeper.


lochblech_2024Aug27b.gh (26.2 KB)

1 Like

– Dale

1 Like

Thats actually more than perfect!
…you basically saved my bachelor xD

Thank you so much Joseph! :pray:t3:

Nah, you stopped too soon. This is closer to “perfect”, though more could be done.

  • Instead of moving the points diagonally, I generate twice as many points and cull them by alternate rows. Much cleaner!
  • And instead of ‘Gap’ being units, it’s now a fraction (0 to 1) so doesn’t have to change when ‘Radius’ of the holes is changed. Or at least that’s the idea.

Playing with code and geometry reveals many things so don’t skip it.


lochblech_2024Aug27c.gh (23.5 KB)