示例#1
0
文件: _carve.py 项目: folksjos/RepG
 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')
示例#2
0
文件: _carve.py 项目: hy19910/Cura
 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')
示例#3
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')
示例#4
0
 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")
示例#5
0
文件: _array.py 项目: folksjos/RepG
	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')
示例#6
0
	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')
示例#7
0
文件: _copy.py 项目: 3DNogi/SFACT
	def __init__(self, elementNode):
		'Set defaults.'
		self.target = evaluate.getElementNodeByKey(elementNode, 'target')
示例#8
0
文件: _copy.py 项目: Aeva/SFACT
 def __init__(self, elementNode):
     "Set defaults."
     self.target = evaluate.getElementNodeByKey(elementNode, "target")
示例#9
0
文件: _copy.py 项目: folksjos/RepG
 def __init__(self, elementNode):
     'Set defaults.'
     self.target = evaluate.getElementNodeByKey(elementNode, 'target')