~develop4wash/open-turbidimeter-project/hardware

« back to all changes in this revision

Viewing changes to OpenSCAD/cuvette_top.scad

  • Committer: Alex Krolick
  • Date: 2013-04-02 01:54:09 UTC
  • Revision ID: amk283@cornell.edu-20130402015409-bhsjsxy66hl4qu5k
added holes to top of case

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        cc = 5;                                 //correction factor to ensure that joins of orthogonal cylinders work as intended
7
7
 
8
8
        /* cuvette dimensions */
9
 
        icr = 13;                               //radius of outer cylinder of cuvette chamber
 
9
        icr = 16;                               //radius of outer cylinder of cuvette chamber
10
10
 
11
11
        /* base and mounting holes */
12
12
        bw0 = 75.0;                             //base width before minkowski (edge-rounding)
56
56
                translate([bd/4 + 2.5*btnr,bw/4 + btnr/2,0])            cylinder(r=btnr,h=bt, $fn=fn, center=false);
57
57
                translate([0,-bw-mnk,0])                                                        cube([bd/2,bw/2,bt], center=false);
58
58
                translate([-bd/3.33,0,0])               cylinder(r=icr,h=bt, $fn=fn, center=false);
 
59
                //screwholes
 
60
                translate([-bd/2,bw/2,0])       cylinder(r=scrw_r,h=scrw_d);
 
61
                translate([bd/2,-bw/2,0])       cylinder(r=scrw_r,h=scrw_d);
 
62
                translate([bd/2,bw/2,0])        cylinder(r=scrw_r,h=scrw_d);
 
63
                translate([-bd/2,-bw/2,0])      cylinder(r=scrw_r,h=scrw_d);
59
64
        }
60
65
}
61
66