Mechanics of pendant drops and axisymmetric membranes