SWindParam module¶
-
class
SWindParam
(machine, matlib, is_stator=False)[source]¶ Bases:
pyleecan.GUI.Dialog.DMachineSetup.SWindParam.Gen_SWindParam.Gen_SWindParam
,PySide2.QtWidgets.QWidget
Step to define the winding parameters
-
saveNeeded
¶
-
step_name
= 'Winding (2)'¶
-
set_Ntcoil
()[source]¶ Signal to update the value of Ntcoil according to the line edit
- Parameters
self (SWindParam) – A SWindParam object
-
set_Npcp
()[source]¶ Signal to update the value of Npcp according to the line edit
- Parameters
self (SWindParam) – A SWindParam object
-
comp_output
()[source]¶ Compute and display the winding output
- Parameters
self (SWindParam) – A SWindParam object
-
static
check
(lamination)[source]¶ Check that the current lamination 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>¶
-