A man who bought a 3D printer to help his autistic son with school work has been granted bail after spending nine months in jail on weapons manufacture charges.