G code is simple, I'm just not sure how simple reading the curves would be. I worked around this by exporting as a png and having Cura slice that, then writing a script to extract a single layer. It works beautifully, now I want to see if I can make PCBs with it, it would be a revolution.