DMatLib module¶
-
class
DMatLib
(matlib, key='RefMatLib', selected=0)[source]¶ Bases:
pyleecan.GUI.Dialog.DMatLib.Gen_DMatLib.Gen_DMatLib
,PySide2.QtWidgets.QDialog
Material Library Dialog to view and modify material data.
-
saveNeeded
= <PySide2.QtCore.Signal object>¶
-
edit_material
()[source]¶ Open the setup material GUI to edit the current material. Changes will be saved to the corresponding material file.
- Parameters
self – A DMatLib object
-
new_material
()[source]¶ Open the setup material GUI to create a new material according to the current material
- Parameters
self – A DMatLib object
-
update_list_mat
(selected_id=-1)[source]¶ Update the list of Material with the current content of MatLib
- Parameters
self – A DMatLib object
-
update_out
(on_matlib=True)[source]¶ Update all the output widget for material preview
- Parameters
self – A DMatLib object
index – Current index of nav_mat (Default value = 0)
-
staticMetaObject
= <PySide2.QtCore.QMetaObject object>¶
-