G-Code Based Simulation