It also looks legal to 3D print a gun or parts, as long as you don't share "code" with others, which I assume means an .stl file. A model is not code, so you could share a .sldprt or .inv file. And, show someone how to convert it to code. That's how I see it.
-Simon