PHoleM57 module

class PHoleM57[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SMHoleMag.PHoleM57.Gen_PHoleM57.Gen_PHoleM57, PySide2.QtWidgets.QWidget

Page to set the Hole Type 57

saveNeeded = <PySide2.QtCore.Signal object>
hole_name = 'Slot Type 57'
hole_type

alias of pyleecan.Classes.HoleM57.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>