MeshEnvelope.from_middle_mesh

classmethod MeshEnvelope.from_middle_mesh(mesh, thickness=None)

Construct an envelope from a mesh with specified thickness.

Parameters:
meshcompas.datastructures.Mesh

The middle mesh from which to create the envelope.

thicknessfloat, optional

The thickness of the envelope. If None, uses thickness values stored on the mesh vertices.

Returns:
Envelope