Bulk cylinders and spheres: from shaping to the use for linear and nonlinear optics