Fabrication of 3D nanostructures by multidirectional UV lithography and predictive structural modeling