pyleecan.GUI.Dialog.DMachineSetup.SMSlot.PMSlot10.PMSlot10 module

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

Bases: Gen_PMSlot10, QWidget

Page to set the Slot Magnet Type 10

saveNeeded
slot_name = 'Rectangular Magnet'
notch_name = 'Rectangular'
slot_type

alias of SlotM10

set_W0()[source]

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

Parameters:

self (PMSlot10) – A PMSlot10 object

set_Wmag()[source]

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

Parameters:

self (PMSlot10) – A PMSlot10 object

set_H0()[source]

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

Parameters:

self (PMSlot10) – A PMSlot10 object

set_Hmag()[source]

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

Parameters:

self (PMSlot10) – A PMSlot10 object

static check(lam)[source]

Check that the current machine have all the needed field set

Parameters:

lam (LamSlotMag) – Lamination to check

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>