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[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[Mesh], optional) – The type of return mesh.

Returns

Mesh – The joined and welded mesh.