Quad Mesh Panel Creation

Hi

I am trying to construct a mesh starting from a list of points , i am not willing to create a surface and quad mesh it , i want to create the panels by starting from point and using the construct mesh component and the annotation Q{0,1,2,3}

here is the list generate form 2 curves , i am not able to organize the list in order to get the proper order

my final goal is to get quad panels arranged in this way

can anyone enlight me ? thanks

20260817.1 QUAD MESH CREATION.gh (6.2 KB)

Here’s some theory:

What is a Data Tree? | The Grasshopper Primer Third Edition

And one way to sort the points:

20260817.1 QUAD MESH CREATION relative item.gh (20.9 KB)

YAAAAAAAAAAY-math.


20260817.1 QUAD MESH CREATION VR 1.gh (29.8 KB)



20260817.1 QUAD MESH CREATION VR 2.gh (29.5 KB)

Same idea with less sillyness.

Another option that will only work if the input lines are perpendicular.

20260817.1 QUAD MESH CREATION - grid only.gh (13.6 KB)

This is the clean way :+1:

Great approach :clap:

I mean the simplest aproach would be just to use Mesh Plane :smirking_face: , but yes, @Jakob_v_Schirmeister 's solution is very nice.

I was trying to get a construction that actually created created a mesh from the flatten list of indices (so from the entire 0 to 110 indices and not just the reinterpreted 0 through 3 indices) Also a solution that also didn’t rely on the branching of the data. But that just means that you are doing the inherent branching with math on the indices.

:cat_with_tears_of_joy:

:joy_cat:

Something like that, yeah.

:thinking:

Your solution is actually more useful than you’d think, because if you had some sorted sample data (just points, not planar), you can impose the logic of the Mesh Plane on those sample points to get a mesh.

Here’s a more complicated situation from ages ago…

2020 feels like yesterday.

@Jakob_v_Schirmeister BTW

@martinsiegrist @Volker_Rakow @lazard @Jakob_v_Schirmeister I want to thank You guys very much , what a learning opportunity to see your approaches !!

THANKS !!!

cool, thank you

Finally I know what Prune Tree is for :slight_smile: