Polygon.to_mesh
- Polygon.to_mesh(earclip=False)[source]
- Returns a mesh representation of the polygon. - Parameters:
- earclipbool, optional
- Earclip the polygon before converting to a mesh. 
 
- Returns:
- compas.datastructures.Mesh
- A mesh object. 
 
 
Site Navigation
compas
compas_blender
compas_ghpython
compas_rhino
Returns a mesh representation of the polygon.
Earclip the polygon before converting to a mesh.
compas.datastructures.MeshA mesh object.