Material: mat card parser, there are two parsers in FreeCAD, make some comments about the existance of each other
This commit is contained in:
committed by
Yorik van Havre
parent
79b7041336
commit
7f2ad7fbbf
@@ -49,6 +49,10 @@ Version:
|
||||
"""
|
||||
|
||||
|
||||
# see comments in module importFCMat, there is a independent parser implementaion for reading and writing FCMat files
|
||||
# inside FreeCAD the importFCMat.py parser defs are used
|
||||
|
||||
|
||||
def importFCMat(fileName):
|
||||
"Read a FCMat file into a dictionary"
|
||||
try:
|
||||
|
||||
@@ -83,6 +83,8 @@ def decode(name):
|
||||
# in standard ini file format a = in the value without any encapsulation or string quotes is not allowed (AFAIK)
|
||||
# https://en.wikipedia.org/wiki/INI_file
|
||||
# http://www.docuxplorer.com/WebHelp/INI_File_Format.htm
|
||||
# in the module Material.py is another implementaion of reading and writing FCMat files which uses the module ConfigParser
|
||||
# it seams these are not used inside FreeCAD
|
||||
|
||||
# Metainformations
|
||||
# first five lines are the same in any card file
|
||||
|
||||
Reference in New Issue
Block a user