Man accused over 3D-printed guns is sci-fi fan, court told