mesh_weld

compas.datastructures.mesh_weld(mesh, precision=None, cls=None)[source]

Weld vertices of a mesh within some precision distance.

Parameters
  • mesh (Mesh) – A mesh.

  • precision (str, optional) – Tolerance distance for welding.

  • cls (Type[Mesh], optional) – Type of the welded mesh. This defaults to the type of the first mesh in the list.

Returns

Mesh – The welded mesh.