pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot12.PWSlot12 module

translate(context: bytes, key: bytes, disambiguation: Union[bytes, NoneType] = None, n: int = - 1) str
class PWSlot12(lamination=None, material_dict=None)[source]

Bases: Gen_PWSlot12, QWidget

Page to set the Slot Type 12

saveNeeded
slot_name = 'Slot Type 12'
slot_type

alias of SlotW12

set_wedge()[source]

Setup the slot wedge according to the GUI

set_R1()[source]

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

Parameters:

self (PWSlot12) – A PWSlot12 object

set_R2()[source]

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

Parameters:

self (PWSlot12) – A PWSlot12 object

set_H0()[source]

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

Parameters:

self (PWSlot12) – A PWSlot12 object

set_H1()[source]

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

Parameters:

self (PWSlot12) – A PWSlot12 object

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

staticMetaObject = <PySide2.QtCore.QMetaObject object>