pyleecan.GUI.Dialog.DMachineSetup.SMHoleMag.PHoleM51.PHoleM51 module

class PHoleM51(hole=None, material_dict=None)[source]

Bases: Gen_PHoleM51, QWidget

Page to set the Hole Type 51

saveNeeded
hole_name = 'Hole Type 51'
hole_type

alias of HoleM51

change_magnet_0()[source]

Set/Remove magnet_0 according to checkbox

change_magnet_1()[source]

Set/Remove magnet_1 according to checkbox

change_magnet_2()[source]

Set/Remove magnet_2 according to checkbox

emit_save()[source]

Send a saveNeeded signal to the DMachineSetup

set_W0()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W1()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W2()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W3()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W4()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W5()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W6()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_W7()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_H0()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_H1()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

set_H2()[source]

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

Parameters:

self (PHoleM51) – A PHoleM51 widget

comp_output()[source]

Compute and display the hole output

Parameters:

self (PHoleM51) – A PHoleM51 widget

check()[source]

Check that the current machine have all the needed field set

Parameters:

self (PHoleM51) – A PHoleM51 widget

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>