Exemple #1
0
 def __init__(self):
     "Initialize processor."
     self.functions = []
     self.manipulationEvaluatorDictionary = evaluate.getGeometryDictionary("manipulation_evaluator")
     self.manipulationPathDictionary = evaluate.getGeometryDictionary("manipulation_paths")
     self.manipulationShapeDictionary = evaluate.getGeometryDictionary("manipulation_shapes")
     self.namePathDictionary = {}
     self.namePathDictionary.update(evaluate.globalCreationDictionary)
     self.namePathDictionary.update(evaluate.getGeometryDictionary("manipulation"))
     self.namePathDictionary.update(self.manipulationEvaluatorDictionary)
     self.namePathDictionary.update(self.manipulationPathDictionary)
     self.namePathDictionary.update(self.manipulationShapeDictionary)
     settings.addToNamePathDictionary(evaluate.getGeometryDirectoryPath("geometry_tools"), self.namePathDictionary)
     settings.addToNamePathDictionary(evaluate.getGeometryDirectoryPath("solids"), self.namePathDictionary)
     settings.addToNamePathDictionary(evaluate.getGeometryDirectoryPath("statements"), self.namePathDictionary)
def getStatementsDirectoryPath():
	"Get the statements directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'statements' )
def getSolidsDirectoryPath():
	"Get the plugins directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'solids' )
def getManipulationShapesDirectoryPath():
	"Get the manipulation shapes directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'manipulation_shapes' )
def getManipulationPathsDirectoryPath():
	"Get the manipulation paths directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'manipulation_paths' )
def getGeometryToolsDirectoryPath():
	"Get the plugins directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'geometry_tools' )
Exemple #7
0
def getStatementsDirectoryPath():
    "Get the statements directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(), 'statements')
Exemple #8
0
def getSolidsDirectoryPath():
    "Get the plugins directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(), 'solids')
Exemple #9
0
def getManipulationShapesDirectoryPath():
    "Get the manipulation shapes directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(),
                        'manipulation_shapes')
Exemple #10
0
def getManipulationPathsDirectoryPath():
    "Get the manipulation paths directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(),
                        'manipulation_paths')
Exemple #11
0
def getGeometryToolsDirectoryPath():
    "Get the plugins directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(), 'geometry_tools')