def getChainTextFromProcedures(fileName, procedures, text):
 lastProcedureTime = time.time()
 for procedure in procedures:
  craftModule = getCraftModule(procedure)
  if (craftModule != None):
   text = craftModule.getCraftedText(fileName, text)
   if gcodec.isProcedureDone(text, procedure):
    print ('%s procedure took %s.' % (procedure.capitalize(), euclidean.getDurationString((time.time() - lastProcedureTime))))
    lastProcedureTime = time.time()
 return text

def getChainTextFromProcedures ( fileName , procedures , text ) : lastProcedureTime = time . time ( ) for procedure in procedures : craftModule = getCraftModule ( procedure ) if ( craftModule != None ) : text = craftModule . getCraftedText ( fileName , text ) if gcodec . isProcedureDone ( text , procedure ) : print ( '%s procedure took %s.' % ( procedure . capitalize ( ) , euclidean . getDurationString ( ( time . time ( ) - lastProcedureTime ) ) ) ) lastProcedureTime = time . time ( ) return text
get a crafted shape file from a list of procedures .