trimesh.path.util module

Functions

concatenate(paths)

Concatenate multiple paths into a single path.

is_ccw(points)

Check if connected planar points are counterclockwise.

trimesh.path.util.concatenate(paths)

Concatenate multiple paths into a single path.

Parameters

paths (list of Path, Path2D, or Path3D objects) –

Returns

concat

Return type

Path, Path2D, or Path3D object

trimesh.path.util.is_ccw(points)

Check if connected planar points are counterclockwise.

Parameters

points ((n,2) float, connected points on a plane) –

Returns

ccw

Return type

bool, True if points are counterclockwise