Additive manufacturing of locally self-supporting compliant mechanisms