Digital and automatic design of free-form single-layer grid structures