pyleecan.Methods.Machine.Machine.get_lam_list module

get_lam_list(self, is_int_to_ext=True, key=None)[source]

Returns the ordered list of lamination of the machine

Parameters:
  • self (Machine) – Machine object

  • is_int_to_ext (bool) – true to order the list from the inner lamination to the extrenal one

  • key (string) – keyword to return only stator or rotor laminations, accepted values are “Stator” or “Rotor” default None to return all

Returns:

lam_list – Ordered lamination list, for abstract Machine objects list will be empty

Return type:

list

exception KeyInputError[source]

Bases: Exception