예제 #1
0
 def getFabricationText(self, addLayerTemplate):
     'Get fabrication text.'
     carving = SVGFabricationCarving(addLayerTemplate, self.xmlElement)
     carving.setCarveLayerThickness(
         setting.getSheetThickness(self.xmlElement))
     carving.processSVGElement(self.xmlElement.getRoot().parser.fileName)
     return str(carving)
예제 #2
0
	def __init__(self, elementNode):
		'Set defaults.'
		self.elementNode = elementNode
		self.importRadius = setting.getImportRadius(elementNode)
		self.layerThickness = setting.getLayerThickness(elementNode)
		self.sheetThickness = setting.getSheetThickness(elementNode)
		self.targetElementNode = evaluate.getElementNodeByKey(elementNode, 'target')
예제 #3
0
파일: path.py 프로젝트: zaubara/Curation
 def getFabricationText(self, addLayerTemplate):
     'Get fabrication text.'
     carving = SVGFabricationCarving(addLayerTemplate, self.elementNode)
     carving.setCarveLayerHeight(setting.getSheetThickness(
         self.elementNode))
     carving.processSVGElement(self.elementNode.getOwnerDocument().fileName)
     return str(carving)
예제 #4
0
	def __init__(self, elementNode):
		'Set defaults.'
		self.elementNode = elementNode
		self.importRadius = setting.getImportRadius(elementNode)
		self.layerThickness = setting.getLayerThickness(elementNode)
		self.sheetThickness = setting.getSheetThickness(elementNode)
		self.targetElementNode = evaluate.getElementNodeByKey(elementNode, 'target')
예제 #5
0
 def __init__(self, xmlElement):
     'Set defaults.'
     self.importRadius = setting.getImportRadius(xmlElement)
     self.layerThickness = setting.getLayerThickness(xmlElement)
     self.sheetThickness = setting.getSheetThickness(xmlElement)
     self.targetXMLElement = evaluate.getXMLElementByKey(
         'target', xmlElement)
예제 #6
0
파일: path.py 프로젝트: Aeva/SFACT
	def getFabricationText(self, addLayerTemplate):
		'Get fabrication text.'
		carving = SVGFabricationCarving(addLayerTemplate, self.elementNode)
		carving.setCarveLayerThickness(setting.getSheetThickness(self.elementNode))
		carving.processSVGElement(self.elementNode.getOwnerDocument().fileName)
		return str(carving)
예제 #7
0
	def getFabricationText(self, addLayerTemplate):
		'Get fabrication text.'
		carving = SVGFabricationCarving(addLayerTemplate, self.xmlElement)
		carving.setCarveLayerThickness(setting.getSheetThickness(self.xmlElement))
		carving.processSVGElement(self.xmlElement.getRoot().parser.fileName)
		return str(carving)
예제 #8
0
파일: disjoin.py 프로젝트: Spacexula/SFACT
	def __init__(self, xmlElement):
		'Set defaults.'
		self.importRadius = setting.getImportRadius(xmlElement)
		self.layerThickness = setting.getLayerThickness(xmlElement)
		self.sheetThickness = setting.getSheetThickness(xmlElement)
		self.targetXMLElement = evaluate.getXMLElementByKey('target', xmlElement)
예제 #9
0
파일: disjoin.py 프로젝트: rkoeppl/SFACT
 def __init__(self, xmlElement):
     """Set defaults."""
     self.importRadius = setting.getImportRadius(xmlElement)
     self.extrusionHeight = setting.getLayerThickness(xmlElement)
     self.sheetThickness = setting.getSheetThickness(xmlElement)
     self.targetXMLElement = evaluate.getXMLElementByKey("target", xmlElement)