Sorting mesh attributes: Quad & Tri {a,b,c,(d)} in a list

COVID.gh (35.6 KB)

  1. How would you sort Q{a,b,v,d} and T{a,b,c} mesh objects using a single GH component without leveraging list/split, etc. components with domain, series, range, etc.?

  1. Is there a GH component that can burst Q or T {a,b,c,(d)} formats? If no native GH component can handle this, what is the name of the plugin that can?

If you mean to divide the faces list into 2 separate list for Quad and Tri, you can use deconstruct face and equality number for 3rd and 4th point (if it is a Tri, 3rd and 4th are equal). You will get a Boolean list that you can use to dispatch the face list

What do you mean by ‘burst’?

Similar to what Fabio suggests, you can dispatch Qs vs Ts with a boolean pattern. If you’re not counting face vertices then you can use TextMatch from your vertices output, use a ‘contains’ conditional to distinguish Ts or Qs.

Solved. Thanks, y’l!