FEM: Remove never used saveMat function
That function won't be used as there is a plan to merge material handling with Arch wb and Arch wb already has material editor. Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
af4ad9059a
commit
42bc0b57f8
|
@ -158,14 +158,6 @@ class _MechanicalMaterialTaskPanel:
|
|||
self.print_mat_data(self.previous_material)
|
||||
FreeCADGui.ActiveDocument.resetEdit()
|
||||
|
||||
# Function not yet used
|
||||
# def saveMat(self):
|
||||
# self.transferTo()
|
||||
# filename = QtGui.QFileDialog.getSaveFileName(None, 'Save Material file file',self.params.GetString("MaterialDir",'/'),'FreeCAD material file (*.FCMat)')
|
||||
# if(filename):
|
||||
# import Material
|
||||
# Material.exportFCMat(filename,self.obj.Material)
|
||||
|
||||
def goMatWeb(self):
|
||||
import webbrowser
|
||||
webbrowser.open("http://matweb.com")
|
||||
|
|
Loading…
Reference in New Issue
Block a user