pyleecan.GUI.Dialog.DMachineSetup.SMSlot.WSlotCirc.WSlotCirc module

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

Bases: Gen_WSlotCirc, QWidget

Page to set the Slot Magnet Type 10

saveNeeded
slot_name = 'Circular Slot'
notch_name = 'Circular'
slot_type

alias of SlotCirc

set_correct_schematics()[source]

Update the schematics according to the current lamination/slot

set_W0()[source]

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

Parameters:

self (SlotCirc) – A SlotCirc object

set_H0()[source]

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

Parameters:

self (SlotCirc) – A SlotCirc object

set_H0_bore()[source]

Change the definition of H0

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>