trimesh.path.repair module

repair.py

Try to fix problems with closed regions.

trimesh.path.repair.fill_gaps(path, distance=0.025)

Find vertices without degree 2 and try to connect to other vertices. Operations are done in-place.

Parameters:

segments (trimesh.path.Path2D) – Line segments defined by start and end points