Event Series for Fused Deposition Modelling

Does anyone have a file called 'generateEventseries.py' to convert Gcode to event series format utilized by AM-plugin in ABAQUS? If so can anyone please share the file? I am looking for a file used for Fused Deposition Modelling.