Parametric House
Parametric House · Digital File

Mesh Weld Vertices

In this Grasshopper Python script, you can merge nearby mesh vertices with an adjustable distance tolerance.

Mesh Weld Vertices

About this file

In this Grasshopper Python script, you can merge nearby mesh vertices with an adjustable distance tolerance. PH SCRIPT 015 / MESH WELD VERTICES WHAT IT DOES Joins mesh vertices at identical locations or within a distance threshold. The output is one mesh object; the source mesh stays untouched. INPUTS Mesh An open or closed mesh. Triangles, quads and Ngons are accepted. Tolerance Maximum 3D distance between vertices to join, in model units. 0 joins only identical coordinates. Start with a small number. OUTPUTS Welded Mesh Mesh after vertices are snapped and truly merged by index. HOW TO USE Connect the mesh, then slowly increase Tolerance until seams join. Inspect the mesh after large tolerances: moving vertices can alter shape. Vertices that belong to the same face are not snapped together. Rhino's native identical-vertex merge completes the topology update. NOTES Sharp normal, texture and vertex-color seams may merge when vertices join. This tool does not remove self-intersections, duplicate faces or close holes. If welding would invalidate the mesh, the original mesh is returned. PARAMETRIC HOUSE / PH SCRIPTS