pyleecan.GUI.Dialog.DMachineSetup.DNotchTab.WNotch.WNotch module

class WNotch(parent, index)[source]

Bases: Ui_WNotch, QWidget

Widget to Setup a single notch in a list

saveNeeded
emit_save()[source]

Send a saveNeeded signal to the DMachineSetup

preview_notch()[source]

Preview the notch on the lamination

set_alpha()[source]

Set alpha value according to widgets

set_Zn()[source]

Set the value of Zn

set_alpha_unit()[source]

Change the current unit of alpha

set_notch_type(c_index)[source]

Initialize self.obj with the notch corresponding to index

Parameters:
  • self (WNotch) – A WNotch object

  • c_index (int) – Index of the selected notch type in the combobox

set_Zs_UD()[source]
check()[source]

Check that the current machine have all the needed field set

Parameters:

self (WnotchMag) – A WnotchMag widget

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>