Principal #3D Compilation