infillGenerator Generates new infill for an object by reading the information of the layers of a gcode file and reconstructes it.