Grid Pattern on irregular surface

I want to create a simple grid pattern on an irregular surface:

However, using lunchbox doesn’t fit the grid within the surface boundary:

Is there a way to trim the excess going outside the boundary?:

Irregular Surface Grid.gh (9.7 KB)

something like this?


If higher precision is needed, it may be necessary to output it as a grid, trim it, and then reconstruct the surface, which might require scripting. The simplest approach might be to directly export it to Rhino and manually trim it.

Irregular Surface Grid.gh (24.0 KB)

Try this definition.
Irregular Surface Grid a.gh (12.7 KB)

2 Likes