Automatic Plastic-Hinge Analysis And Design Of 3D Steel Frames