def getPerimeterWidth(elementNode):
 if (elementNode == None):
  return 0.72
 preferences = skeinforge_craft.getCraftPreferences('carve')
 layerThickness = skeinforge_craft.getCraftValue('Layer Thickness', preferences)
 layerThickness = getCascadeFloatWithoutSelf(layerThickness, elementNode, 'layerThickness')
 perimeterWidthOverThickness = skeinforge_craft.getCraftValue('Perimeter Width over Thickness', preferences)
 perimeterWidthOverThickness = getCascadeFloatWithoutSelf(perimeterWidthOverThickness, elementNode, 'perimeterWidthOverThickness')
 return getCascadeFloatWithoutSelf((perimeterWidthOverThickness * layerThickness), elementNode, 'perimeterWidth')

def getPerimeterWidth ( elementNode ) : if ( elementNode == None ) : return 0.72 preferences = skeinforge_craft . getCraftPreferences ( 'carve' ) layerThickness = skeinforge_craft . getCraftValue ( 'Layer Thickness' , preferences ) layerThickness = getCascadeFloatWithoutSelf ( layerThickness , elementNode , 'layerThickness' ) perimeterWidthOverThickness = skeinforge_craft . getCraftValue ( 'Perimeter Width over Thickness' , preferences ) perimeterWidthOverThickness = getCascadeFloatWithoutSelf ( perimeterWidthOverThickness , elementNode , 'perimeterWidthOverThickness' ) return getCascadeFloatWithoutSelf ( ( perimeterWidthOverThickness * layerThickness ) , elementNode , 'perimeterWidth' )
get the perimeter width .