Пример #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)
Пример #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)
Пример #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
Пример #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
Пример #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 )
Пример #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 )