// exercice 2 
//cube
taille_cube =30;    
rayon_sphere = 20;   
position_sphere = [15, 15, 15]; 


difference() {
    color( "red") 
    cube([taille_cube, taille_cube, taille_cube]);
}   
 rayon_sphere = 20;  
 position=[15,15,15];
    
    // Sphère 
    color("blue")
    translate(position_sphere)
    sphere(r=rayon_sphere);