Пример #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)
Пример #2
0
def getStatementsDirectoryPath():
	"Get the statements directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'statements' )
Пример #3
0
def getSolidsDirectoryPath():
	"Get the plugins directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'solids' )
Пример #4
0
def getManipulationShapesDirectoryPath():
	"Get the manipulation shapes directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'manipulation_shapes' )
Пример #5
0
def getManipulationPathsDirectoryPath():
	"Get the manipulation paths directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'manipulation_paths' )
Пример #6
0
def getGeometryToolsDirectoryPath():
	"Get the plugins directory path."
	return os.path.join( evaluate.getGeometryDirectoryPath(), 'geometry_tools' )
Пример #7
0
def getStatementsDirectoryPath():
    "Get the statements directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(), 'statements')
Пример #8
0
def getSolidsDirectoryPath():
    "Get the plugins directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(), 'solids')
Пример #9
0
def getManipulationShapesDirectoryPath():
    "Get the manipulation shapes directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(),
                        'manipulation_shapes')
Пример #10
0
def getManipulationPathsDirectoryPath():
    "Get the manipulation paths directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(),
                        'manipulation_paths')
Пример #11
0
def getGeometryToolsDirectoryPath():
    "Get the plugins directory path."
    return os.path.join(evaluate.getGeometryDirectoryPath(), 'geometry_tools')