pyleecan.GUI.Dialog.DMachineSetup.SMHoleMag.PHoleM54.PHoleM54 module

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

Bases: Gen_PHoleM54, QWidget

Page to set the Hole Type 54

saveNeeded
hole_name = 'Hole Type 54'
hole_type

alias of HoleM54

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 (PHoleM54) – A PHoleM54 widget

set_R1()[source]

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

Parameters:

self (PHoleM54) – A PHoleM54 widget

set_H0()[source]

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

Parameters:

self (PHoleM54) – A PHoleM54 widget

set_H1()[source]

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

Parameters:

self (PHoleM54) – A PHoleM54 widget

comp_output()[source]

Compute and display the hole output

Parameters:

self (PHoleM54) – A PHoleM54 widget

check()[source]

Check that the current machine have all the needed field set

Parameters:

self (PHoleM54) – A PHoleM54 widget

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>