pyleecan.GUI.Dialog.DMachineSetup.DAVDuct.DAVDuct module

class DAVDuct(lamination)[source]

Bases: Ui_DAVDuct, QDialog

Dialog to setup the ventilations

keyPressEvent(self, arg__1: PySide2.QtGui.QKeyEvent) None[source]
s_add(vent=False, idx_vent=None)[source]

Signal to add a new hole

Parameters:
  • self (DAVDuct) – A DAVDuct widget

  • vent (Ventilation) – The ventilation to init the GUI with

s_remove(index)[source]

Signal to remove the last hole

Parameters:

self (DAVDuct) – a DAVDuct object

plot()[source]

Plot the ventilation ducts according to the table

Parameters:

self (DAVDuct) – a DAVDuct object

valid_vent()[source]

Validate the new ventilation and update the lamination

Parameters:

self (DAVDuct) – a DAVDuct object

check()[source]

Check that all the ventilation are correctly set

Parameters:

self (DAVDuct) – a DAVDuct object

staticMetaObject = <PySide2.QtCore.QMetaObject object>