NotchEvenDist (class)

File generated according to Generator/ClassesRef/Machine/NotchEvenDist.csv WARNING! All changes made in this file will be lost!

class NotchEvenDist(alpha=0, notch_shape=-1, init_dict=None)[source]

Bases: pyleecan.Classes.Notch.Notch

Class for evenly distributed notches (according to Zs)

VERSION = 1
get_notch_list(sym=1)

Returns an ordered description of the notches

Parameters:
  • self (NotchEvenDist) – A NotchEvenDist object
  • sym (int) – Number of symmetry
Returns:

notch_list – list of dictionary with key: “begin_angle”, “end_angle”, “obj”

Return type:

list

save(save_path='')

Save the object to the save_path

Parameters:
  • self – A pyleecan object
  • save_path (str) – path to the folder to save the object
get_logger()

Get the object logger or its parent’s one

Parameters:obj – A pyleecan object
Returns:logger – Pyleecan object dedicated logger
Return type:logging.Logger
as_dict()[source]

Convert this objet in a json seriable dict (can be use in __init__)

alpha

angular positon of the first notch

notch_shape

Shape of the Notch