rpipe 2[mm] Light pipe radius L1 20[mm] Length of straight section 1 rb1 10[mm] Radius of curvature, bend 1 theta1 30[deg] Bend angle 1 L2 25[mm] Length of straight section 2 rb2 20[mm] Radius of curvature, bend 2 theta2 90[deg] Bend angle 2 L3 10[mm] Length of straight section 3 x0 0 LED location, x-component y0 0 LED location, y-component z0 0 LED location, z-component xc1 x0-rb1 Center of curvature of bend 1, x-component yc1 y0 Center of curvature of bend 1, y-component zc1 z0+L1 Center of curvature of bend 1, z-component xL2 xc1+rb1*cos(theta1) Start of straight section 2, x-component yL2 yc1 Start of straight section 2, y-component zL2 zc1+rb1*sin(theta1) Start of straight section 2, z-component xc2 xL2-L2*sin(theta1)+rb2*cos(theta1) Center of curvature of bend 2, x-component yc2 yL2 Center of curvature of bend 2, y-component zc2 zL2+L2*cos(theta1)+rb2*sin(theta1) Center of curvature of bend 2, z-component xL3 xc2-rb2*cos(theta2-theta1) Start of straight section 3, x-component yL3 yc2 Start of straight section 3, y-component zL3 zc2+rb2*sin(theta2-theta1) Start of straight section 3, z-component