Shape.from_pointcloud_and_topology

classmethod Shape.from_pointcloud_and_topology(meshtopology, intrados_pts, extrados_pts, middle_pts=None, fill_pts=None, data={'t': 0.0, 'type': 'general'})

Construct a Shape from a pointcloud and a given topology.

Parameters
  • meshtopology (mesh) – Mesh with the topology to be used.

  • intrados_pts (list) – List of points collected in the intrados.

  • extrados_pts (list) – List of points collected in the extrados.

  • middle_pts (list, optional) – List of points collected in the middle. The default value is None, in which case no middle surface is constructed

  • fill_pts (list, optional) – List of points collected in the fill. The default value is None, in which case no fill surface is constructed

  • data (dict, optional) – Dictionary with the data in required. The default is None.

Returns

Shape – A Shape object.