(Lunch box) triangle surface and structure on a curved surface

Hi. Does any body know how to create a triangle panel structure on a curved surface?
I have tried this tutorial (https://www.youtube.com/watch?v=fjFFoE7ZIS0) but it does not work

<-- This kind of structure.

Here is what I have so far:
DIAGRID HELP.3dm (224.8 KB)
LUNCHBOX GRID.gh (5.0 KB)

![2|690x452](upload://izQ2q5fVpjL9nzDdaSXqrmLgVlC.jpeg)

Hi,

This doesn’t work with trimmed surfaces or polysurfaces! You need to come up with a cleverer strategy.

Here’s a work around, but it’s not ideal:

LUNCHBOX GRID 02.gh (6.9 KB)