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)
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')
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)
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)
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)
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)
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)
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)