Nonlinear mechanics of thin frames.