$fn=90; difference(){ //makes a difference boolean, the first object is the one where the booleans are going to be aplied // dice body intersection(){ // makes a intsersection boolean, Creates the intersection of all child nodes. This keeps the overlapping portion (logical and) cube(20,center=true); sphere(15);} //face number 1 translate([0,0,10]) sphere(2); //face number 3 translate([10,0,0]) sphere(2); translate([10,5,5]) sphere(2); translate([10,-5,-5]) sphere(2); //face number 2 translate([-5,10,-5]) sphere(2); translate([5,10,5]) sphere(2); //face number 4 translate([-10,-5,5]) sphere(2); translate([-10,5,-5]) sphere(2); translate([-10,5,5]) sphere(2); translate([-10,-5,-5]) sphere(2); //face number 5 translate([-5,-10,5]) sphere(2); translate([5,-10,-5]) sphere(2); translate([5,-10,5]) sphere(2); translate([-5,-10,-5]) sphere(2); translate([0,-10,0]) sphere(2); //face number 6 translate([5,5,-10]) sphere(2); translate([5,0,-10]) sphere(2); translate([5,-5,-10]) sphere(2); translate([-5,5,-10]) sphere(2); translate([-5,0,-10]) sphere(2); translate([-5,-5,-10]) sphere(2); }