pyleecan.Methods.Geometry.Surface.comp_mesh_dict module

comp_mesh_dict(self, element_size, prefix='')[source]

Returns the number of mesh elements on each line of the surface to match the element_size.

Parameters:
  • self (Surface) – a Surface object

  • element_size (float) – The size of each element on the mesh [m]

  • prefix (str) – Label prefix for line

Returns:

mesh_dict – Dictionary containing the number of element of each line of the surface

Return type:

dict