Multiscale technique for the analysis of 3D-printed materials