Single-piece mechanisms created using an advanced metamaterial