fabmetheus_utilities.fabmetheus_tools.fabmetheus_interpret ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/fabmetheus_tools/fabmetheus_interpret.py

`Interpret is a collection of utilities to list the import plugins.
An import plugin is a script in the interpret_plugins folder which has the function getCarving.
The following examples shows functions of fabmetheus_interpret. The examples are run in a terminal in the folder which contains fabmetheus_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
>>> fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples()
[('GTS files', '*.gts'), ('Gcode text files', '*.gcode'), ('STL files', '*.stl'), ('SVG files', '*.svg')]
>>> fabmetheus_interpret.getImportPluginFileNames()
['gts', 'stl', 'svg']`

Modules
`` |  |
__init__ fabmetheus_utilities.archive fabmetheus_utilities.euclidean | fabmetheus_utilities.gcodec os fabmetheus_utilities.settings | skeinforge_application.skeinforge_utilities.skeinforge_polyfile skeinforge_application.skeinforge_utilities.skeinforge_profile time |

Classes
`` |  | InterpretRepository
class InterpretRepository
`` | `A class to handle the interpret settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.` execute(self) `Write button has been clicked.`

Functions
`` |  | getCarving(fileName) `Get carving.` 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 interpret plugin fileNames.` getInterpretPlugin(fileName) `Get the interpret plugin for the file.` getNewRepository() `Get new repository.` getPluginsDirectoryPath() `Get the plugins directory path.` getTranslatorFileTypeTuples() `Get the file types from the translators in the import plugins folder.` getWindowAnalyzeFile(fileName) `Get file interpretion.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)