pyleecan.GUI.Dialog.DMachineSetup.SPreview.SPreview module

class SPreview(machine, material_dict, is_stator=False)[source]

Bases: Ui_SPreview, QWidget

Step to define the winding conductor

saveNeeded
step_name = 'Machine Summary'
static check(machine)[source]

Check that the current machine have all the needed field set

Parameters:

machine (Machine) – Machine to check

Returns:

error – Error message (return None if no error)

Return type:

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>