3D-printed luminaires