def __init__(self, elementNode): 'Set defaults.' self.elementNode = elementNode self.importRadius = setting.getImportRadius(elementNode) self.layerThickness = setting.getLayerThickness(elementNode) self.targetElementNode = evaluate.getElementNodeByKey( elementNode, 'target')
def __init__(self, elementNode): 'Set defaults.' self.elementNode = elementNode self.importRadius = setting.getImportRadius(elementNode) self.layerHeight = setting.getLayerHeight(elementNode) self.targetElementNode = evaluate.getElementNodeByKey( elementNode, 'target')
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 __init__(self, elementNode): "Set defaults." self.closed = evaluate.getEvaluatedBoolean(True, elementNode, "closed") self.elementNode = elementNode self.paths = evaluate.getTransformedPathsByKey([], elementNode, "paths") vertexTargets = evaluate.getElementNodesByKey(elementNode, "vertexes") for vertexTarget in vertexTargets: self.paths.append(vertexTarget.getVertexes()) self.target = evaluate.getElementNodeByKey(elementNode, "target") self.track = evaluate.getEvaluatedBoolean(True, elementNode, "track") self.visible = evaluate.getEvaluatedBoolean(True, elementNode, "visible")
def __init__(self, elementNode): 'Set defaults.' self.closed = evaluate.getEvaluatedBoolean(True, elementNode, 'closed') self.elementNode = elementNode self.paths = evaluate.getTransformedPathsByKey([], elementNode, 'paths') vertexTargets = evaluate.getElementNodesByKey(elementNode, 'vertexes') for vertexTarget in vertexTargets: self.paths.append(vertexTarget.getVertexes()) self.target = evaluate.getElementNodeByKey(elementNode, 'target') self.track = evaluate.getEvaluatedBoolean(True, elementNode, 'track') self.visible = evaluate.getEvaluatedBoolean(True, elementNode, 'visible')
def __init__(self, elementNode): 'Set defaults.' self.target = evaluate.getElementNodeByKey(elementNode, 'target')
def __init__(self, elementNode): "Set defaults." self.target = evaluate.getElementNodeByKey(elementNode, "target")