3D characterization of printed structures by stylus- and optical- based measurements