Solution of the Kirchhoff–Plateau Problem