Static and dynamic consistent perturbation analysis for nonlinear inextensible planar frames