pymead.core.mea.MEA#

class MEA(airfoils: List[Airfoil], name: str | None = None, geo_col=None)[source]#

Bases: PymeadObj

__init__(airfoils: List[Airfoil], name: str | None = None, geo_col=None)[source]#
Parameters:

sub_container (str) – Sub-container where this object will be stored in the GeometryCollection

Methods

add_airfoil(airfoil)

get_airfoil_order()

get_coords_list([max_airfoil_points, ...])

get_coords_list_chord_relative([...])

get_dict_rep()

Gets a dictionary representation of the pymead object.

get_max_x_extent()

remove_airfoil(airfoil)

write_mses_blade_file(airfoil_sys_name, ...)

write_to_IGES(file_name)

Writes the airfoil system to file using the IGES file format.

Attributes

get_dict_rep()[source]#

Gets a dictionary representation of the pymead object. In general, this dictionary should consist of only the required arguments for object instantiation. For example, the dictionary representation of a point looks something like this: {"x": 0.3, "y": 0.5}. If the argument requires a reference to a PymeadObj rather than a string or float value, the name() method should be the value that is stored. For an example, see the overridden value of this method in pymead.core.airfoil.Airfoil. All subclasses of PymeadObj must implement this method, since it is the way pymead objects are stored in saved instances of a GeometryCollection (.jmea files).

write_to_IGES(file_name: str)[source]#

Writes the airfoil system to file using the IGES file format.

Parameters:

file_name (str) – Path to IGES file