chiark / gitweb /
fairphone-case: wip lanyard, wip cutout
[reprap-play.git] / calib-fit.scad
index 7507be9bf2bb240966d7def8514dc40f5a987f8e..dbee918bd02c57c406e3287f678902d2c0cf4030 100644 (file)
@@ -1,9 +1,20 @@
-module small(sz=5,dsz=0,dz=0) {
-       cube([sz+dsz,sz+dsz,sz+dz], center=true);
+th=3;
+holesz=6;
+outsz=15;
+
+module small(sz=holesz,dsz=0,dz=0) {
+       cube([sz+dsz,sz+dsz,th+dz], center=true);
 }
 
-translate([0,20,0]) small();
-difference() {
-       cube([10,10,5], center=true);
-       small(dz=1,dsz=0);
+module osmall() {
+       translate([0,outsz/2 + 10,0]) small();
+}
+module obig() {
+       difference() {
+               cube([outsz,outsz,th], center=true);
+               small(dz=1);
+       }
 }
+
+osmall();
+obig();