Okay, that’s only if the larger outer hexagon has equal length of each side. If the shape and size of the outer hexagon is governed by the number of hexagons arranged on each side, then the solution can be obtained as seen in two pages of various types of hexagonal configurations in the diagrams I shared in two pages. Any way to do that in Grasshopper?
In the second image (named screenshot 230 of my original post, in the bottom left example, they have arranged 7 hexagons on straight edges and 5 hexagons on inclined edges.
Yes, but they have eliminated the trimmed halves of the hexagons. This is possible, no worries. Just cull the faces with an area smaller than a regular hexagon and you are done. How to spread the hexagons? Play with the U and V values of the Lunchbox tool till you get a result you like.