Smartpath Optimization And Migration For Cnc Simulation And Post-Processing