/* Road Light in OpenScad Designed by Abhay Prahaladhan not for commercial use The plan is to make the road crossing light by making a cuboid and subtracting geometry from it. Further detailing can be added later */ difference () { translate ([0,0,12.5]) color ([1,1,1]) cube([100,100,10],center=true); //A cube to subtract from translate([0,0,35]) color([1,1,1]) cube([50,50,40], center=true);//A cube that subtracts translate ([160,0,140]) color ([1,1,1]) sphere(180,$fn=100); translate ([-160,0,140]) color ([1,0,0]) sphere(180,$fn=100); translate ([0,160,140]) color ([0,1,0]) sphere(180,$fn=100); translate ([0,-160,140]) color ([0,1,0]) sphere(180,$fn=100); //option to subtract with spheres translate ([-60,60,30]) rotate ([90,0,0]) color ([0,0,1]) cylinder(120,25,25); translate ([60,60,30]) rotate ([90,0,0]) color ([0,0,1]) cylinder(120,25,25); translate ([-60,60,30]) rotate ([0,90,0]) color ([0,0,1]) cylinder(120,25,25); translate ([-60,-60,30]) rotate ([0,90,0]) color ([0,0,1]) cylinder(120,25,25);// option to subtract with cylinders }