piece_dimensions=[4,4,2]; resolution = 50; // Code difference(){ scale(piece_dimensions) sphere(d=1,$fn=resolution*2); scale(piece_dimensions) scale([0.9,0.9,1.2]) sphere(d=1,$fn=resolution*2); }