jbod

jbod.git
git clone git://git.lenczewski.org/jbod.git
Log | Files | Refs | README

shell.scad (734B)


      1 include <constants.scad>
      2 
      3 width = chassis_width;
      4 height = chassis_height;
      5 depth = chassis_depth;
      6 
      7 module shell_wall_cover_roller_slots() {
      8 	d = 10.0; r = d / 2;
      9 	//translate([0,0,0]) circle(r);
     10 }
     11 
     12 module shell_wall_rack_rail_slots() {
     13 	d = 10.0; r = d / 2;
     14 	//translate([0,0,0]) circle(r);
     15 }
     16 
     17 module shell_wall() {
     18 	linear_extrude(height=chassis_thickness) difference() {
     19 		square([height, depth]);
     20 		shell_wall_rack_rail_slots();
     21 		shell_wall_cover_roller_slots();
     22 	}
     23 }
     24 
     25 module shell() {
     26 	rotate([0,-90,0]) shell_wall();
     27 
     28 	linear_extrude(height=chassis_thickness) square([width, depth]);
     29 
     30 	translate([width,0,0]) rotate([0,-90,0]) shell_wall();
     31 }
     32 
     33 module cover() {
     34 	linear_extrude(height=chassis_thickness) square([width, depth]);
     35 }