/* ------------------------------------------------------------------ Parametric Ring with Square Cutouts, v.1.0: Tutorial version ---------------------------------------------------------- Fully parametric ring created for the OpenSCAD tutorial in Getting Started With MakerBot: http://shop.oreilly.com/product/0636920026723.do ---------------------------------------------------------- Anna Kaziunas France www.kaziunas.com 11.27.2012 ------------------------------------------------------------------*/ //Parametric Variables - change these to modify your ring ringSize = 16.51; // width of your finger ringHeight = 6; //height of ring ringThickness = 2; //thickness of ring cubeWidth = 2.5; //width of the cube cutouts cubeHeight = 3.5; //height of the cube cutouts cubeLength = ringSize*2; //length of the cube cutouts $fn=100; //set the resolution for the model to "high" difference(){ difference(){ //outside of ring cylinder(h=ringHeight, r=(ringSize)/2+ringThickness, center = true); //square shapes subtracted from the ring, rotated around the band rotate([0,0,0]) cube([cubeLength, cubeWidth, cubeHeight], center = true); rotate([0,0,45]) cube([cubeLength, cubeWidth, cubeHeight], center = true); rotate([0,0,90]) cube([cubeLength, cubeWidth, cubeHeight], center = true); rotate([0,0,135]) cube([cubeLength, cubeWidth, cubeHeight], center = true); rotate([0,0,-90]) cube([cubeLength, cubeWidth, cubeHeight], center = true); rotate([0,0,-45]) cube([cubeLength, cubeWidth, cubeHeight], center = true); rotate([0,0,-135]) cube([cubeLength, cubeWidth, cubeHeight], center = true); } //inside of ring cylinder(h=ringHeight+10, r=(ringSize)/2, center = true); }