PWSlot61 module

translate(str, str, disambiguation: str = None, n: int = -1) → str
class PWSlot61(lamination=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SWPole.PWSlot61.Gen_PWSlot61.Gen_PWSlot61, PyQt5.QtWidgets.QWidget

Page to set the Slot Type 61

saveNeeded
set_W0()[source]

Signal to update the value of W0 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_W1()[source]

Signal to update the value of W1 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_W2()[source]

Signal to update the value of W2 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_H0()[source]

Signal to update the value of H0 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_H1()[source]

Signal to update the value of H1 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_H2()[source]

Signal to update the value of H2 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_W3()[source]

Signal to update the value of W3 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_H3()[source]

Signal to update the value of H3 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
set_H4()[source]

Signal to update the value of H4 according to the line edit

Parameters:self (PWSlot61) – A PWSlot61 object
comp_output()[source]

Compute and display the slot output

Parameters:self (PWSlot61) – A PWSlot61 object
static check(lam)[source]

Check that the current machine have all the needed field set

Parameters:
Returns:

error – Error message (return None if no error)

Return type:

str