Material Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ exportFCMat()

def Material.exportFCMat (   fileName,
  matDict 
)

◆ importFCMat()

def Material.importFCMat (   fileName)

Variable Documentation

◆ args

Material.args

◆ CommandlineUsage

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

◆ FileName

Material.FileName = args[0]

◆ kv_map

def Material.kv_map = importFCMat(FileName)

◆ opts

Material.opts

◆ OutPath

Material.OutPath = a