DAVDuct module

class DAVDuct(lamination)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SLamParam.DAVDuct.Ui_DAVDuct.Ui_DAVDuct, PySide2.QtWidgets.QDialog

Dialog to setup the ventilations

s_add(vent=False)[source]

Signal to add a new hole

Parameters
  • self (DAVDuct) – A DAVDuct widget

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

s_remove()[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>