algebraic3d

solid main = sphere (0, 0, 0; 1)
        and not sphere (0, 0, 0; 0.98);
#        or orthobrick (-0.4, -0.4, -0.4; 0.4, 0.4, 0.4);

tlo main -maxh=0.02;