A new method for efficiently converting electron backscatter diffraction data obtained using serial sectioning by focused ion beam of a polycrystalline thin film into a computational, three-dimensional (3D) structure is presented. The reported data processing method results in a more accurate representation of the grain surfaces, reduced computer memory usage, and improved processing speed compared to traditional voxel methods. The grain structure of a polycrystalline absorption layer from a high-efficiency Cu(In,Ga)Se2 solar cell (19.5%) is reconstructed in 3D and the grain size and surface distribution is investigated. The grain size distribution is found to be best fitted by a log-normal distribution. We further find that the grain size is determined by the [Ga]/([Ga] + [In]) ratio in vertical direction, which was measured by glow discharge optical emission spectroscopy. Finally, the 3D model derived from the structural information is applied in optoelectronic simulations, revealing insights into the effects of grain boundary recombination on the open-circuit voltage of the solar cell. An accurate 3D structure like the one obtained with our method is a prerequisite for a detailed understanding of mechanical properties and for advanced optical and electronic simulations of polycrystalline thin films.