Police say the various components were made by a 3D printer.
Authorities identified the suspect as Tyler Schmalenberger, 30, of Port Jefferson.
Officers went to the suspect's home after someone complained he pointed what looked like a handgun at them on Friday.
The suspect is accused of menacing and criminal possession of a weapon.
----------
* More Long Island news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube