Map group of curves onto curved polysurface with Grasshopper

Hi everyone!

I have a group of curves (which can also function as surfaces) that I want mapped onto a curved polysurface.

I followed a tutorial on how to map to a surface with a triangular grid, but of course that only maps the traingular grid and not the pattern I want on the surface.

I also cannot seem to get it to work in the Y direction, only in X.

Here is the GH file as well as the Rhino file with the pattern and polysurface I need. Any help or advice is appreciated!!

Polysurface and pattern.3dm (1.2 MB)
Triangle grid tutorial.gh (9.4 KB)

Hi @Daniella_Bueso_Flefi ,

Is this what you are after with the pattern?

Graph Space:

Model Space:

20230906_Triangle grid tutorial_Response_01a.gh (69.9 KB)

1 Like

Yes, exactly! Is there any way to avoid it squishing like that? Otherwise I am happy to just take it as you did. Thank you!!

1 Like

Hi @Daniella_Bueso_Flefi ,

Ideally the pattern hatch you are using should continue for the extents of the surface if it were “unrolled”

Please see below where I added logic to unroll your overall surface, check its length and then array your pattern so that it fills that whole surface as best as possible. The more exact you match the overall “repeat length/height” of the pattern to the length/height of the mapping surface, the more accurate it will be.

This is just to illustrate the idea. Ideally you fill your unrolled surface with your hatch, randomize the colors/layer assignments as needed and apply the pattern to the surface after.

Graph Space:

Model Space:

Here you can see the seams and length mismatch from the pattern arraying which is why the re-hatching of the pattern would solve this.

If your pattern extents are a 1 for 1 dimensional match with your unrolled surface then you should get a very clean mapping and you COULD potentially even avoid the seam on a repeating pattern like this if you plan the dimensions right.

Hope this helps!

20230906_Triangle grid tutorial_Response_01b.gh (90.6 KB)

2 Likes

When I try to open this gh file, Rhino says I am missing a plug-in but lists the missing plug-in as a newer version of grasshopper. I ask it to open regardless and it ends up with this part of the graph space blank:
image
I am not sure what dialogue box you are using or if it is a plug-in that I have to install. Please let me know. Thank you again for all your help!

Hi @Daniella_Bueso_Flefi ,

This script uses Rhino 8 and the missing nodes you see are native grasshopper components in Rhino 8 Beta.

Hope that helps you

Hey you already found a solution but i Would still like to recommend this plug in for mapping which also works for very komplex surfaces

1 Like