The new law would treat buying a 3D printer like buying a gun.