1. uniqx
  2. uniqxstuff

Commits

uniqx  committed 3d2c063

final proportions for cube_cage2

  • Participants
  • Parent commits 4aacc48
  • Branches default

Comments (0)

Files changed (2)

File openscad/cube_cage2/lazzor_parts.scad

View file
 
 height = 90;
 width  = 100;
-depth  = 200;
+depth  = 160;
 
 material_height = 5;
 screw_radius = 1.5;
 
+usb_height = 12;
+usb_width = 13;
+usb_x = 1.5;
+usb_y = 32;
 
 // arrangement
 
 translate([ (width/2) + material_height,0,0])
   base_plate(width,depth,material_height,screw_radius);
 
-translate([ -1.5*width ,height*0.55,0 ])
+rotate([0,0,90]) translate([ 0,height*1.6,0 ])
   side_plate(depth,height,material_height);
-translate([ -1.5*width ,-height*0.55,0 ])
+rotate([0,0,90]) translate([ 0,height*0.55,0 ])
   side_plate(depth,height,material_height);
 
-translate( [3*width,height*0.55,0] ) rotate([0,0,90])
+translate( [2.85*width,height*0.55-material_height*2,0] ) rotate([0,0,90])
   front_plate(height,width,material_height);
-translate( [3*width,-height*0.55,0] ) rotate([0,0,90])
-  front_plate(height,width,material_height);
+translate( [2.85*width,-height*0.55-material_height,0] ) rotate([0,0,90])
+  back_plate(height,width,material_height,usb_height,usb_width,usb_x,usb_y);
 
 
 // shapes
 
+module back_plate(h,w,m,uh,uw,ux,uy){
+
+  difference(){
+
+    front_plate(h,w,m);
+
+    translate([h/2-5*m/2-uh/2-ux,w/2-uw/2-uy,0])
+      square([uh,uw],center=true);
+  }
+}
+
 module front_plate(h,w,m){
 
   difference(){

File openscad/cube_cage2/mount.scad

View file
 
 material_height = 5;
 
-electronics_height = 1;
+electronics_height = 2.1;
 
 // place parts
 
-rotate([90,0,0])
+translate([0,0,material_height]) rotate([90,0,0])
   mount(material_height,electronics_height);