Box.to_mesh

Box.to_mesh(triangulated=False)[source]

Returns a mesh representation of the box.

Parameters:
triangulated: bool, optional

If True, triangulate the faces.

Returns:
compas.datastructures.Mesh