To perform the complex mathematical calculations required for metrology based real-time adaptive control of CNC machining processes, powerful coordinate measuring machine (CMM) software needs to be directly integrated within the manufacturing system. CappsNC, from Applied Automation Software Inc., an adaptation of CappsDMIS CMM software, has been developed to program any machining center to perform advanced measurement, metrology and GD&T calculations using the standard DMIS language. Powerful offline programming, with automatic collision avoidance and 5-axis path generation, allows programming of all machine configurations including multiple-axis mill-turn machines.