Part.to_mesh

Part.to_mesh(cls=None)[source]

Convert the part geometry to a mesh.

Parameters

cls (compas.datastructures.Mesh, optional) – The type of mesh to be used for the conversion.

Returns

compas.datastructures.Mesh – The resulting mesh.