예제 #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')