Part.to_mesh

Part.to_mesh(cls=None)[source]

Convert the part geometry to a mesh.

Parameters

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

Returns

Mesh – The resulting mesh.