Design method for 3D printed compliant mechanisms