Merge by Distance

https://user-images.githubusercontent.com/14288520/199111364-34353398-2bc8-4d95-a8d5-db937f99fba2.png

Functionality

This merges vertices that are closer that a defined threshold, as do same-named command in blender.

Inputs

  • Distance. Remove distance

  • Vertices

  • PolyEdge

  • FaceData. List containing an arbitrary data item for each face of input mesh. For example, this may be used to provide material indexes of input mesh faces. Optional input.

  • Mask. Vector mask to select the affected vertices

Parameters

Param

Type

Default

Description

Distance

Float

0.001

Maximum distance to weld vertices

Outputs

This node has the following outputs:

  • Vertices

  • Edges

  • Polygons

  • Doubles. Vertices, that were deleted.

  • FaceData. List containing data items from the FaceData input, which contains one item for each output mesh face.

  • Mask The inputted mask after the merge. (Removed the mask indexes of the deleted vertices)

Examples of usage

https://user-images.githubusercontent.com/14288520/199113153-05fa7f2d-8ddb-4308-9a9b-ebb20e16f980.png
https://user-images.githubusercontent.com/14288520/199118735-68850597-cf13-439a-a0fa-221d104ce55a.png
https://user-images.githubusercontent.com/14288520/199118461-f9ce665f-e012-4b72-ba1d-e5c0af6bc165.png
https://user-images.githubusercontent.com/14288520/199121377-5085556a-483f-422a-87ed-dea854ac8ec6.png https://user-images.githubusercontent.com/14288520/199122167-9458221d-5946-443b-9801-095806253764.gif