PWSlotUD module

class PWSlotUD(lamination=None)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlotUD.Ui_PWSlotUD.Ui_PWSlotUD, PySide2.QtWidgets.QWidget

Page to set the slot from DXF

saveNeeded
slot_name = 'Import from DXF'
slot_type

alias of pyleecan.Classes.SlotUD.SlotUD

update_graph()[source]

Plot the lamination with/without the slot

load_slot()[source]

Load the selected json file and display the slot

open_DXF_Slot()[source]

Open the GUI to define the SlotUD

set_dxf_path()[source]

Update the slot according to the file defined by DXF_Slot

static check(lam)[source]

Check that the current machine have all the needed field set

Parameters

lam (LamSlotWind) – Lamination to check

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>