pyleecan.GUI.Dialog.DMachineSetup.SSkew.SSkew module

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

Bases: Ui_SSkew, QWidget

Step to setup the main lamination parameters

saveNeeded
step_name = 'Skew'
activate_skew()[source]

Activate skewing setup

update_hide()[source]

Hide / show widget depending on parameters

set_step()[source]

Set step/continuous

staticMetaObject = <PySide2.QtCore.QMetaObject object>
set_type()[source]

Set skew widget

set_Nslice()[source]

Set number of slices

check_values()[source]

Check if values are consistent

set_rate()[source]

Set rate in slot pitch

update_angle_deg()[source]

Set angle label in °

set_table()[source]

Fill angle table

comp_skew()[source]

Compute skew

update_graph()[source]

Plot the skew

emit_save()[source]
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