def getEdgeWidth(elementNode):
 if (elementNode == None):
  return 0.72
 preferences = skeinforge_craft.getCraftPreferences('carve')
 layerHeight = skeinforge_craft.getCraftValue('Layer Height', preferences)
 layerHeight = getCascadeFloatWithoutSelf(layerHeight, elementNode, 'layerHeight')
 edgeWidthOverHeight = skeinforge_craft.getCraftValue('Edge Width over Height', preferences)
 edgeWidthOverHeight = getCascadeFloatWithoutSelf(edgeWidthOverHeight, elementNode, 'edgeWidthOverHeight')
 return getCascadeFloatWithoutSelf((edgeWidthOverHeight * layerHeight), elementNode, 'edgeWidth')

def getEdgeWidth ( elementNode ) : if ( elementNode == None ) : return 0.72 preferences = skeinforge_craft . getCraftPreferences ( 'carve' ) layerHeight = skeinforge_craft . getCraftValue ( 'Layer Height' , preferences ) layerHeight = getCascadeFloatWithoutSelf ( layerHeight , elementNode , 'layerHeight' ) edgeWidthOverHeight = skeinforge_craft . getCraftValue ( 'Edge Width over Height' , preferences ) edgeWidthOverHeight = getCascadeFloatWithoutSelf ( edgeWidthOverHeight , elementNode , 'edgeWidthOverHeight' ) return getCascadeFloatWithoutSelf ( ( edgeWidthOverHeight * layerHeight ) , elementNode , 'edgeWidth' )
get the edge width .