Mesh.from_shape

classmethod Mesh.from_shape(shape, **kwargs)

Construct a mesh from a primitive shape.

Parameters
Returns

compas.datastructures.Mesh – A mesh object.