meshes_join_and_weld

compas.datastructures.meshes_join_and_weld(meshes, precision=None, cls=None)[source]

Join and and weld meshes within some precision distance.

Parameters
  • meshes (list[compas.datastructures.Mesh]) – A list of meshes.

  • precision (str, optional) – Precision for point comparison in the form of a string formatting specifier. For example, floating point precision ('3f'), or decimal integer ('d'). Default is compas.PRECISION.

  • cls (Type[compas.datastructures.Mesh], optional) – The type of return mesh.

Returns

compas.datastructures.Mesh – The joined and welded mesh.