예제 #1
0
 def __init__(self):
     "Initialize processor."
     self.functions = []
     self.manipulationMatrixDictionary = archive.getGeometryDictionary(
         'manipulation_matrix')
     self.manipulationPathDictionary = archive.getGeometryDictionary(
         'manipulation_paths')
     self.manipulationShapeDictionary = archive.getGeometryDictionary(
         'manipulation_shapes')
     self.namePathDictionary = {}
     self.namePathDictionary.update(evaluate.globalCreationDictionary)
     self.namePathDictionary.update(
         archive.getGeometryDictionary('manipulation_meta'))
     self.namePathDictionary.update(self.manipulationMatrixDictionary)
     self.namePathDictionary.update(self.manipulationPathDictionary)
     self.namePathDictionary.update(self.manipulationShapeDictionary)
     archive.addToNamePathDictionary(archive.getGeometryToolsPath(),
                                     self.namePathDictionary)
     archive.addToNamePathDictionary(
         archive.getGeometryToolsPath('path_elements'),
         self.namePathDictionary)
     archive.addToNamePathDictionary(archive.getGeometryPath('solids'),
                                     self.namePathDictionary)
     archive.addToNamePathDictionary(archive.getGeometryPath('statements'),
                                     self.namePathDictionary)
     archive.addToNamePathDictionary(xml.getPluginsDirectoryPath(),
                                     self.namePathDictionary)
예제 #2
0
	def __init__(self):
		"Initialize processor."
		self.functions = []
		self.manipulationEvaluatorDictionary = archive.getGeometryDictionary('manipulation_evaluator')
		self.manipulationPathDictionary = archive.getGeometryDictionary('manipulation_paths')
		self.manipulationShapeDictionary = archive.getGeometryDictionary('manipulation_shapes')
		self.namePathDictionary = {}
		self.namePathDictionary.update(evaluate.globalCreationDictionary)
		self.namePathDictionary.update(archive.getGeometryDictionary('manipulation'))
		self.namePathDictionary.update(self.manipulationEvaluatorDictionary)
		self.namePathDictionary.update(self.manipulationPathDictionary)
		self.namePathDictionary.update(self.manipulationShapeDictionary)
		archive.addToNamePathDictionary(archive.getGeometryToolsPath(), self.namePathDictionary)
		archive.addToNamePathDictionary(archive.getGeometryToolsPath('path_elements'), self.namePathDictionary)
		archive.addToNamePathDictionary(archive.getGeometryPath('solids'), self.namePathDictionary)
		archive.addToNamePathDictionary(archive.getGeometryPath('statements'), self.namePathDictionary)
예제 #3
0
 def __init__(self):
     "Initialize processor."
     self.functions = []
     self.manipulationMatrixDictionary = archive.getGeometryDictionary("manipulation_matrix")
     self.manipulationPathDictionary = archive.getGeometryDictionary("manipulation_paths")
     self.manipulationShapeDictionary = archive.getGeometryDictionary("manipulation_shapes")
     self.namePathDictionary = {}
     self.namePathDictionary.update(evaluate.globalCreationDictionary)
     self.namePathDictionary.update(archive.getGeometryDictionary("manipulation_meta"))
     self.namePathDictionary.update(self.manipulationMatrixDictionary)
     self.namePathDictionary.update(self.manipulationPathDictionary)
     self.namePathDictionary.update(self.manipulationShapeDictionary)
     archive.addToNamePathDictionary(archive.getGeometryToolsPath(), self.namePathDictionary)
     archive.addToNamePathDictionary(archive.getGeometryToolsPath("path_elements"), self.namePathDictionary)
     archive.addToNamePathDictionary(archive.getGeometryPath("solids"), self.namePathDictionary)
     archive.addToNamePathDictionary(archive.getGeometryPath("statements"), self.namePathDictionary)