Plane frame calculation