Simplify mesh

Hi,

What are some good strategies to simplify a mesh. Basically what i am trying to achieve is to get only the bounding polygon that makes up the mesh, to get rid of the extra points as seen on the image.

And on the same topic,

At the same time i’d want to round up the coordinates so that there are no decimal spots for the vertices.

Attached also the script
Mesh Simplify.gh (64.5 KB)

Hi @Morten_Kaasik

You do not need meshes for this.

Mesh Simplify.gh (73.2 KB)

Thanks, works perfect, learned some new moves !