Shape.from_middle

classmethod Shape.from_middle(middle, thk=0.5, treat_creases=False, printout=False, data={'t': 0.0, 'type': 'general', 'xy_span': [[0.0, 10.0], [0.0, 10.0]]})

Construct a Shape from a middle mesh and a thickness (offset happening to compute new extrados).

Parameters
  • middle (Mesh) – Mesh with middle. Topology will be considered.

  • data (dict (None)) – Dictionary with the data in required.

Returns

Shape – A Shape object.