How to map hexagon grid to a trimmed srf

hi all, i’m trying to map a hexagon grid to a trimmed double curvature srf , how do i do this??

any help is much appreciated

remapping_hexagongrid.gh (72.6 KB)


You could try ShapeMap

1 Like

Here are a couple of ways:


remapping_hexagongrid.gh (68.0 KB)

The first (top) one doesn’t ‘map’ it, instead it trims your hexes to a ‘thickened’ version of your trimmed surface. The second (bottom) does a mapping of the curves via MapSrf - both look good but they’re slightly different.

1 Like

The “easy way” is Map Srf (purple group) but it gives the same result as you already got the hard way (sincere congratulations on that). The other way is TriRemesh ‘D’ output (white group). Both require trimming of face boundaries, as your method does.



remapping_hexagongrid_2024Apr8a.gh (71.5 KB)

2 Likes

thanks all for the help!

One tip about the trimming - because of how GH treats trimmed surfaces, if you want to mesh only the trimmed part, cast to a Brep first:
image

4 Likes