pyleecan.GUI.Dialog.DMachineSetup.SMHoleMag.PHoleM52.PHoleM52 module

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

Bases: Gen_PHoleM52, QWidget

Page to set the Hole Type 52

saveNeeded
hole_name = 'Hole Type 52'
hole_type

alias of HoleM52

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

set_W3()[source]

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

Parameters:

self (PHoleM52) – A PHoleM52 widget

set_H0()[source]

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

Parameters:

self (PHoleM52) – A PHoleM52 widget

set_H1()[source]

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

Parameters:

self (PHoleM52) – A PHoleM52 widget

set_H2()[source]

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

Parameters:

self (PHoleM52) – A PHoleM52 widget

comp_output()[source]

Compute and display the hole output

Parameters:

self (PHoleM52) – A PHoleM52 widget

check()[source]

Check that the current machine have all the needed field set

Parameters:

self (PHoleM52) – A PHoleM52 widget

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>