Mesh creation from non planar surfaces

Hey all,
Green GH user here. I’m looking to transform surfaces into meshes, in order to perform structural analysis with another software that can import meshes and assign loading to such elements.
The geometry represents a building facade made of hundreds of similar panels (currently surface elements in Rhino), and my objectives are:

  1. Reducing mesh polygons to a minimum while creating a uniform pattern of quads and triangles for each one;
  2. Extracting curves from edges of meshes.

I am attaching all the GH scripts I’ve tried so far, Rhino model, and images for reference. (6.7 KB) Meshing (11.7 KB) Surface (63.6 KB)

Thank you in advance for your help.