New in Grasshopper - help with the pattern

Dear all,

Hope you are all doing great.

I am writing to the forum, as I am quite new to the Grasshopper software. I need a bit of technical help with my geometrical pattern for 2D CNC cutting/perforation.

I would like to design a definition to divide a flat surface with imaginary triangles (see the image) and consequently fill them with dots. Each dot inside each triangle is a signal for our CNC machine to create a perforation. By changing the tool diameter, we will vary the diameter of holes at the specified positions.
With our script, we should be able to define imaginary (boundary) triangle size, spacing between them, the number of points inside triangles, and the density of points inside triangles (connected with the number of points inside the triangles). Points must be geometrically positioned - in straight lines.

We would like to automatize this design process and also implement more customization abilities into our workflows. Therefore, can somebody help me with a GH definition to achieve this pattern? I am attaching the image, which represents the result that we would like to achieve.

This pattern was made by hand in Rhino7 utilizing the Array function.

Thanks a lot and have a great holiday.

Best regards,
Klemen

how far did you come with your grasshopper definition ?
of course it is possible what you describe - but looks more like a job briefing then a question for specific help.

the array functionality is available in grasshopper as well:

you may also want to look at the “panellingTools”

hope this gets you started.

Hello Tom_P,

Thank you very much for your answer. I appreciate it.

You are correct - I wasn’t specific enough.

Up to now, I was able to construct this definition:


As you can see, I approx. know how to distribute triangles/polygons in the square grid (via central and corner points of each square).
Moreover, I tried to implement the populate geometry function, to insert points inside each polygon and later, distribute populated polygons over the square grid.
Not sure if this is the way to go, as I was not able to position the points in the geometrical pattern of each polygon - in the way presented in the first image from the Rhino file.

Do you maybe have any better solutions or suggestions?

Many thanks.

Kind regards,
Klemen

Install Lunchbox.
Points are subdivided mesh vertices, not culled grid.
lunchbox V0.gh (18.9 KB)

2 Likes

Dear Quan,

Thank you very much. I greatly appreciate your help.

This is very close to my solution and now I understand the process much better.

In parallel, I also tried to prepare a similar triangular pattern for perforation, but via a different approach. Now I’m facing another issue, as I would like to fit inverted triangles (divided surfaces and each division representing a point in the triangle - perforation position) between the same pattern of triangles in the facing-up position. Why are they positioned on the left/below the central grid and not on the grid? Also, what would be the best way to shift inverted triangles per one triangular position to the right (to fit between facing-up triangles)?

See the image below:

Thank you very much.

/Klemen

Help Us Help You - Grasshopper - McNeel Forum

Hello,

Sorry, my mistake.

Here is the definition.

Thank you very much.

Best,
Klemen
20231225_GH_parametric_perforation_polygons_v1.gh (34.4 KB)

What does the final goal look like?

What’s your point in replies with no GH file?

Because I have Sunglass :sunglasses: And there is only one component added.
:sunglasses: Sunglasses | GH plugin to display object names - Plug Ins - McNeel Forum

1 Like

I routinely ignore people for a few months who start threads without posting any GH or Rhino file. But when they do, they deserve a file in reply. I would have liked to see your solution but won’t go to the trouble.

20231225_GH_parametric_perforation_polygons_v2 Polygon Center.gh (16.9 KB)
I just added Polygon Center.

1 Like

Hello Quan,

Thank you again for your precious help and I apologize for my lack of forum culture (rookie mistake not to include the .gh file).

I wish you all the best in the following year.

Have a great day,
Klemen

Here’s another method to generate the pattern from your first post:

231230_pattern_re.gh (12.2 KB)

-Kevin

2 Likes

Kevin,

This is great, thank you very much.

Wish you all the best in 2024!

-Klemen