pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlotUD.PWSlotUD module

class PWSlotUD(lamination=None, material_dict=None, is_notch=False)[source]

Bases: Ui_PWSlotUD, QWidget

Page to set the slot from DXF

saveNeeded
ZsChanged
slot_name = 'Import from DXF'
notch_name = 'Import from DXF'
slot_type

alias of SlotUD

set_wedge()[source]

Setup the slot wedge according to the GUI

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>