pyleecan.GUI.Dialog.DMachineSetup.SMHoleMag.PHoleM57.PHoleM57 module

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

Bases: Gen_PHoleM57, QWidget

Page to set the Hole Type 57

saveNeeded
hole_name = 'Hole Type 57'
hole_type

alias of HoleM57

set_W0()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

set_W1()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

set_W2()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

set_W3()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

set_W4()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

set_H1()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

set_H2()[source]

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

Parameters:

self (PHoleM57) – A PHoleM57 widget

comp_output()[source]

Compute and display the hole output

Parameters:

self (PHoleM57) – A PHoleM57 widget

check()[source]

Check that the current machine have all the needed field set

Parameters:

self (PHoleM57) – A PHoleM57 widget

Returns:

error – Error message (return None if no error)

Return type:

str

emit_save()[source]

Send a saveNeeded signal to the DMachineSetup

staticMetaObject = <PySide2.QtCore.QMetaObject object>