Esempio n. 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)
Esempio n. 2
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)
Esempio n. 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)