def getDescriptionCarve(lines):
 descriptionCarve = ''
 layerThicknessString = getSettingString(lines, 'carve', 'Layer Height')
 if (layerThicknessString != None):
  descriptionCarve += (layerThicknessString.replace('.', '') + 'h')
 edgeWidthString = getSettingString(lines, 'carve', 'Edge Width over Height')
 if (edgeWidthString != None):
  descriptionCarve += ('x%sw' % str((float(edgeWidthString) * float(layerThicknessString))).replace('.', ''))
 return descriptionCarve

def getDescriptionCarve ( lines ) : descriptionCarve = '' layerThicknessString = getSettingString ( lines , 'carve' , 'Layer Height' ) if ( layerThicknessString != None ) : descriptionCarve += ( layerThicknessString . replace ( '.' , '' ) + 'h' ) edgeWidthString = getSettingString ( lines , 'carve' , 'Edge Width over Height' ) if ( edgeWidthString != None ) : descriptionCarve += ( 'x%sw' % str ( ( float ( edgeWidthString ) * float ( layerThicknessString ) ) ) . replace ( '.' , '' ) ) return descriptionCarve
get the description for carve .