The student is accused of texting photos of the gun to another student at Harmony School and telling him or her not to attend classes.
[Ads /]
RELATED: Gun rights activists allowed to post plans for 3-D printed guns online
Fort Bend County Sheriff's Office said the student was taken into custody after his friend told school officials about the threat.
Deputies said they found the printed 3-D gun inside the child's bedroom after his parents consented to a search of their home.
Investigators learned the student bought plans for $5 to make the 3-D gun, and then superglued the pieces together.
The sheriff's office said the gun was not functional, however, because the trigger and hammer are solid plastic and do not move.
[Ads /]
RELATED STORIES
Texas company selling 3D-printed gun blueprints despite court injunction
Texas man sentenced to 8 years in prison for 3D gun, had hit list of lawmakers
3D-printed guns: Everything to know about the yearslong legal battle over downloadable blueprints