pyleecan.GUI.Dialog.DMachineSetup.SMHoleMag.SMHoleMag module¶
- class SMHoleMag(machine, material_dict, is_stator=False)[source]¶
Bases:
Ui_SMHoleMag
,QWidget
Step to set several Holes
- saveNeeded¶
- step_name = 'Hole'¶
- set_hole_pitch(Zh)[source]¶
Update out_hole_pitch with the correct value
- Parameters:
self (SMHoleMag) – A SMHoleMag object
Zh (int) – The current value of Zh
- s_remove(index)[source]¶
Signal to remove the last hole
- Parameters:
self (SMHoleMag) – a SMHoleMag object
- static check(lamination)[source]¶
Check that the current machine have all the needed field set
- Parameters:
lamination (Lamination) – Lamination to check
- Returns:
error – Error message (return None if no error)
- Return type:
str
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶