Additive manufacturing, or 3D printing, can create custom parts for electromagnetic devices on-demand and at a low cost. These devices are highly sensitive, and each component requires precise fabrication. Until recently, though, the only way to diagnose printing errors was to make, measure and test a device or to use in-line simulation, both of which are computationally expensive and inefficient.