I need to generate a square grid on a list of freeform surfaces. I managed to do it on previous surfaces as they were close to planar. I used a projection of a 2D square grid on the geometry. This method is present in the file I attached.
The issue with the attached shape (see screenshot below) is that it is folding back on itself, meaning a simple projection will not work. This shape is a brep (polysurface) composed by 59 surfaces.
I was thinking to unroll this brep and/or maybe roll a 2D grid onto it but I haven’t had any success so far.
Some pointers:
- It’s ok if the squares are not really squares as long as they look square and regular from afar.
- This grid should ideally be composed of lines shorter than a specific value (maximum member length for structural purposes).
Square grid.gh (225.9 KB)
Thanks!


