PMSlot16 module

translate(context: bytes, key: bytes, disambiguation: typing.Union[bytes, NoneType] = None, n: int = -1) → str
class PMSlot16(lamination=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SMSlot.PMSlot16.Gen_PMSlot16.Gen_PMSlot16, PySide2.QtWidgets.QWidget

Page to set the Slot Magnet Type 16

saveNeeded
slot_name = 'Spoke Rectangular Magnet'
slot_type

alias of pyleecan.Classes.SlotM16.SlotM16

set_W0()[source]

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

Parameters

self (PMSlot16) – A PMSlot16 object

set_W1()[source]

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

Parameters

self (PMSlot16) – A PMSlot16 object

set_H0()[source]

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

Parameters

self (PMSlot16) – A PMSlot16 object

set_H1()[source]

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

Parameters

self (PMSlot16) – A PMSlot16 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>