def extrude(filename=''):
 if (filename == ''):
  extrudeFiles(getGCodeFilesWhichAreNotLogFiles())
  return
 extrudeFile(filename)

def extrude ( filename = '' ) : if ( filename == '' ) : extrudeFiles ( getGCodeFilesWhichAreNotLogFiles ( ) ) return extrudeFile ( filename )
parse a gcode file and send the commands to the extruder .