mesh function

Builds a mesh from a design aor set of points