We derive the general shape equations in terms of Euler angles for a uniform elastic rod with spontaneous torsion and curvatures and subjected to external force and torque. Our results based on an analytic formalism show that the extension of a helical ro