$fn = 48; part = "assembly"; d=180; wall=2; module shell() { color("#e8e0c8") difference() { sphere(d=d); sphere(d=d-2*wall); translate([0,0,-d/2]) cylinder(d=40, h=20, center=true); // original crater relief (subtracted spheres) for (i=[0:18]) { a = i*47; b = (i*19)%140 - 70; rotate([b,0,a]) translate([d/2-1,0,0]) sphere(d=6+ (i%5)*3); } } } module stand() { color("#5a5048") difference() { cylinder(d=100, h=12); translate([0,0,-1]) cylinder(d=80, h=14); translate([0,0,8]) sphere(d=d+1); } } if (part=="shell") translate([0,0,d/2]) shell(); else { stand(); translate([0,0, d/2-6]) shell(); }