The design of a 2-DOF compliant mechanism for describing closed spatial surfaces, with intended application as leg in omnidirectional walking machines