3d-printed optical components