Well, there are 3 options:
- use the predefined patterns from ReplicatorG
- modify the generateEventSeries.py script or write your own script more or less based on it to process g-codes from other software than ReplicatorG
- if you only need a simple path, consider generating it in Excel, SciLab or similar software