Package theia :: Package helpers :: Module interaction
[hide private]
[frames] | no frames]

Module interaction

source code

Module to define interaction functions for theia.

Variables [hide private]
  usage = 'Usage: theia [options] FNAME\n\nArguments:\n FNAME\t...
  welcome = '\n\ttheia Copyright (C) 2017 R. Duque\n\tLicense: G...
  errorRecursion = '\n\nIt looks like you reached the maximum re...
  errorAtSpecifiedLocation = 'theia: Error: The FreeCAD library ...
  errorWhereIs = 'theia: Error: Unix command \'whereis freecad\'...
  errorUnknown = 'theia: Error: %s was used as the source direct...
  __package__ = None
Variables Details [hide private]

usage

Value:
'''Usage: theia [options] FNAME

Arguments:
  FNAME\t\t .tia format input file name.'''

welcome

Value:
'''
\ttheia Copyright (C) 2017 R. Duque
\tLicense: GNU GPLv3+ <http://gnu.org/licenses/gpl.html>
\tThis is free software: you are free to change and redistribute it.
\tThere is ABSOLUTELY NO WARRANTY, to the extent permitted by law.
'''

errorRecursion

Value:
'''

It looks like you reached the maximum recursion depth of your Python
implementation (generally around 1000). The beam tracer builds the bea\
m tree
recursively and in your case the recursion went to far. The order and \
threshold
simulation parameters were made to prevent this situation. What you ca\
...

errorAtSpecifiedLocation

Value:
'''theia: Error: The FreeCAD library was not found at the specified lo\
cation %s. Usually it is in /usr/lib/freecad/lib. If you are not sure,\
 omit the \'-l\', \'--FREECAD-lib\' option and theia will find the lib\
rary on its own.
Aborting.'''

errorWhereIs

Value:
'''theia: Error: Unix command \'whereis freecad\' did not yield any di\
rectory. Please make sure you have FreeCAD installed and that library \
location is in your $PATH.
Aborting'''

errorUnknown

Value:
'''theia: Error: %s was used as the source directory for the FreeCAD l\
ibrary but an error occured, make sure your FreeCAD build is correct.
Aborting.'''