Shape.from_formdiagram_and_attributes

classmethod Shape.from_formdiagram_and_attributes(form, data={'t': 0.0, 'type': 'general'})

Construct a Shape from the form diagram and its attributes ‘ub’ and ‘lb’.

Parameters
  • form (FormDiagram) – Form Diagram with the topology to be used.

  • intrados (mesh) – Mesh for intrados.

  • extrados (mesh) – Mesh for extrados.

  • middle (mesh, optional) – Mesh for middle, the default is None

  • data (dict, optional) – Dictionary with the data if required, the default is None

Returns

Shape – A Shape object.