skeinforge_tools.skeinforge_utilities.interpret ($Date: 2008/21/04 $)
index
/home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/skeinforge_utilities/interpret.py

Interpret is a collection of utilities to list the import plugins.

An import plugin is a script in the import_plugins folder which has the function getTriangleMesh.

The following examples shows functions of interpret. The examples are run in a terminal in the folder which contains interpret.py.


> python
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import interpret
>>> interpret.getGNUTranslatorGcodeFileTypeTuples()
[('GTS files', '*.gts'), ('Gcode text files', '*.gcode'), ('STL files', '*.stl'), ('SVG files', '*.svg')]

>>> interpret.getImportPluginFileNames()
['gts', 'stl', 'svg']

 
Modules
       
__init__
skeinforge_tools.skeinforge_utilities.gcodec
os

 
Functions
       
getFirstTranslatorFileNameUnmodified(fileName)
Get the first file name from the translators in the import plugins folder, if the file name is not already set.
getGNUTranslatorFilesUnmodified()
Get the file types from the translators in the import plugins folder.
getGNUTranslatorGcodeFileTypeTuples()
Get the file type tuples from the translators in the import plugins folder plus gcode.
getImportPluginFileNames()
Get analyze plugin fileNames.
getTranslatorFileTypeTuples()
Get the file types from the translators in the import plugins folder.

 
Data
        __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
__date__ = '$Date: 2008/21/04 $'
__license__ = 'GPL 3.0'
absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

 
Author
        Enrique Perez (perez_enrique@yahoo.com)