3D-printed laser