Material Namespace Reference

Functions

def exportFCMat (fileName, matDict)
 
def importFCMat (fileName)
 

Variables

 args
 
string CommandlineUsage
 
 FileName = args[0]
 
 kv_map = importFCMat(FileName)
 
 opts
 
 OutPath = a
 

Function Documentation

def Material.exportFCMat (   fileName,
  matDict 
)
def Material.importFCMat (   fileName)

Variable Documentation

Material.args
string Material.CommandlineUsage
Initial value:
1 = """Material - Tool to work with FreeCAD Material definition cards
2 
3 Usage:
4  Material [Options] card-file-name
5 
6 Options:
7  -c, --output-csv=file-name write a comma seperated grid with the material data
8 
9 Exit:
10  0 No Error or Warning found
11  1 Argument error, wrong or less Arguments given
12 
13 Tool to work with FreeCAD Material definition cards
14 
15 Examples:
16 
17  Material "StandardMaterial/Steel.FCMat"
18 
19 Autor:
20  (c) 2013 Juergen Riegel
21  mail@juergen-riegel.net
22  Licence: LGPL
23 
24 Version:
25  0.1
26 """
Material.FileName = args[0]
Material.kv_map = importFCMat(FileName)
Material.opts
Material.OutPath = a