PWSlot23 module

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

Bases: pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot23.Gen_PWSlot23.Gen_PWSlot23, PyQt5.QtWidgets.QWidget

Page to set the Slot Type 23

saveNeeded
slot_name = 'Slot Type 23'
slot_type

alias of pyleecan.Classes.SlotW23.SlotW23

set_W0()[source]

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

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

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

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

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

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

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

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

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

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

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

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

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

Parameters:self (PWSlot23) – A PWSlot23 object
set_is_cst_tooth(is_checked)[source]

Signal to set the correct mode (constant tooth or slot) according to the checkbox

Parameters:
  • self (PWSlot23) – A PWSlot23 object
  • is_checked (bool) – State of the checkbox
static check(lam)[source]

Check that the current lamination have all the needed field set

Parameters:lam (LamSlotWind) – Lamination to check
Returns:error – Error message (return None if no error)
Return type:str