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' )
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')