Exemplo n.º 1
0
 def setToObjectAttributeTable(self):
     "Set the shape of this carvable object info."
     self.radiusX = euclidean.getFloatOneFromDictionary(
         'radiusx', self.xmlElement.attributeTable)
     self.radiusY = euclidean.getFloatOneFromDictionary(
         'radiusy', self.xmlElement.attributeTable)
     self.radiusZ = euclidean.getFloatOneFromDictionary(
         'radiusz', self.xmlElement.attributeTable)
Exemplo n.º 2
0
 def setToObjectAttributeTable(self):
     "Set the shape of this carvable object info."
     self.halfX = euclidean.getFloatOneFromDictionary(
         'halfx', self.xmlElement.attributeTable)
     self.halfY = euclidean.getFloatOneFromDictionary(
         'halfy', self.xmlElement.attributeTable)
     self.halfZ = euclidean.getFloatOneFromDictionary(
         'halfz', self.xmlElement.attributeTable)
Exemplo n.º 3
0
	def setToObjectAttributeTable( self ):
		"Set the shape of this carvable object info."
		self.height = euclidean.getFloatOneFromDictionary( 'height', self.xmlElement.attributeTable )
		self.radiusX = euclidean.getFloatOneFromDictionary( 'radiusx', self.xmlElement.attributeTable )
		self.topOverBottom = euclidean.getFloatOneFromDictionary( 'topoverbottom', self.xmlElement.attributeTable )
		self.radiusY = euclidean.getFloatOneFromDictionary( 'radiusy', self.xmlElement.attributeTable )
		self.radiusZ = euclidean.getFloatOneFromDictionary( 'radiusz', self.xmlElement.attributeTable )
		if 'radiusy' in self.xmlElement.attributeTable:
			self.isYImaginaryAxis = True
Exemplo n.º 4
0
 def setToObjectAttributeTable(self):
     "Set the shape of this carvable object info."
     self.height = euclidean.getFloatOneFromDictionary(
         'height', self.xmlElement.attributeTable)
     self.radiusX = euclidean.getFloatOneFromDictionary(
         'radiusx', self.xmlElement.attributeTable)
     self.topOverBottom = euclidean.getFloatOneFromDictionary(
         'topoverbottom', self.xmlElement.attributeTable)
     self.radiusY = euclidean.getFloatOneFromDictionary(
         'radiusy', self.xmlElement.attributeTable)
     self.radiusZ = euclidean.getFloatOneFromDictionary(
         'radiusz', self.xmlElement.attributeTable)
     if 'radiusy' in self.xmlElement.attributeTable:
         self.isYImaginaryAxis = True
Exemplo n.º 5
0
	def setToObjectAttributeTable( self ):
		"Set the shape of this carvable object info."
		self.radiusX = euclidean.getFloatOneFromDictionary( 'radiusx', self.xmlElement.attributeTable )
		self.radiusY = euclidean.getFloatOneFromDictionary( 'radiusy', self.xmlElement.attributeTable )
		self.radiusZ = euclidean.getFloatOneFromDictionary( 'radiusz', self.xmlElement.attributeTable )
Exemplo n.º 6
0
	def setToObjectAttributeTable( self ):
		"Set the shape of this carvable object info."
		self.halfX = euclidean.getFloatOneFromDictionary( 'halfx', self.xmlElement.attributeTable )
		self.halfY = euclidean.getFloatOneFromDictionary( 'halfy', self.xmlElement.attributeTable )
		self.halfZ = euclidean.getFloatOneFromDictionary( 'halfz', self.xmlElement.attributeTable )