John Doyle
Ansys Employee

You could try "ReplicatorG",  an open source GCODE generator that you can download for free.  

G-Code is a CNC programming language that is most commonly used to program tool paths on conventional machines for conventional automated manufacturing operations.

It just happens to also be helpful to simulate the strategic activation of layers of elements, based on the lasor scan pattern, in a AM- DED simulation.