Browse Source

housing changes

* accomodate hinge
* widen support top for resistive screen connectors
* add screw holes to bottom plate
clementinecomputing 6 years ago
parent
commit
48a9b859eb

+ 4 - 4
experiment/production/housing/v2/PopufareHousingBack.scad

@@ -25,10 +25,10 @@ module PopufareHousingBackPlate_hinge1() {
   gdx = 1*POPUFARE_GLAND_DIAMETER/2;
   gdy = 1*POPUFARE_GLAND_DIAMETER/2;
   
-  hinge_de = POPUFARE_HINGE1_DE;
-  hinge_dh = POPUFARE_HINGE1_DH;
-  hinge_dw = POPUFARE_HINGE1_DW;
-  hinge_r = POPUFARE_HINGE1_R;
+  hinge_de = POPUFARE_HINGE1_BACK_DE;
+  hinge_dh = POPUFARE_HINGE1_BACK_DH;
+  hinge_dw = POPUFARE_HINGE1_BACK_DW;
+  hinge_r = POPUFARE_HINGE1_BACK_R + 0.25;
 
   lip = _MATERIAL_THICKNESS;
 

+ 9 - 0
experiment/production/housing/v2/PopufareHousingInnerBack.scad

@@ -95,6 +95,15 @@ module PopufareHousingInnerBackPlate() {
     translate([-1*x/7,-3.5*y/10]) translate([0,  _POWER_USB_HOLE_DW/2]) circle(_POWER_USB_HOLE_R);
     translate([-1*x/7,-3.5*y/10]) translate([0, -_POWER_USB_HOLE_DW/2]) circle(_POWER_USB_HOLE_R);
 
+    translate([-2.1*x/7,-4*y/10]) translate([ _POWER_USB_HOLE_DW/2, 0]) circle(_POWER_USB_HOLE_R);
+    translate([-2.1*x/7,-4*y/10]) translate([-_POWER_USB_HOLE_DW/2, 0]) circle(_POWER_USB_HOLE_R);
+    
+    translate([-2.1*x/7, 4*y/10]) translate([ _POWER_USB_HOLE_DW/2, 0]) circle(_POWER_USB_HOLE_R);
+    translate([-2.1*x/7, 4*y/10]) translate([-_POWER_USB_HOLE_DW/2, 0]) circle(_POWER_USB_HOLE_R);
+    
+    translate([ 2.1*x/7, 4.2*y/10]) translate([ _POWER_USB_HOLE_DW/2, 0]) circle(_POWER_USB_HOLE_R);
+    translate([ 2.1*x/7, 4.2*y/10]) translate([-_POWER_USB_HOLE_DW/2, 0]) circle(_POWER_USB_HOLE_R);
+
   }
 }
 

+ 5 - 3
experiment/production/housing/v2/PopufareHousingInnerTop.scad

@@ -37,6 +37,8 @@ module PopufareHousingInnerTopPlate() {
   
   top_dh = (y - idy)/2;
   
+  open_dw = 85;
+  
   union() {
     difference() {
       rounded_rect(x,y, _r);
@@ -61,14 +63,14 @@ module PopufareHousingInnerTopPlate() {
       
       // hdmi and usb access
       //
-      translate([0, y/2]) square([55,30], center=true);
+      translate([0, y/2]) square([open_dw,30], center=true);
    
     }
     
     // round the over hang tabs at top
     //
-    translate([-55/2,idy/2+top_dh/2]) rounded_rect(10, top_dh, _r);
-    translate([ 55/2,idy/2+top_dh/2]) rounded_rect(10, top_dh, _r);
+    translate([-open_dw/2,idy/2+top_dh/2]) rounded_rect(10, top_dh, _r);
+    translate([ open_dw/2,idy/2+top_dh/2]) rounded_rect(10, top_dh, _r);
 
   }
 }

+ 37 - 0
experiment/production/housing/v2/PopufareHousingScreenCover.scad

@@ -0,0 +1,37 @@
+// License: CC0
+//
+// To the extent possible under law, Clementine Computing LLC has waived
+// all copyright and related or neighboring rights to this file.
+//
+// This work is published from: United States.
+//
+
+include <PopufareHousingCommon.scad>
+
+module PopufareHousingScreenCoverPlate() {
+
+  idx = POPUFARE_SCREEN_INNER_WIDTH_RESISTIVE;
+  idy = POPUFARE_SCREEN_INNER_HEIGHT_RESISTIVE;
+  
+  odx = idx+4;
+  ody = idy+4;
+
+  flap = 10;
+  
+  union() {
+    difference() {
+      square([odx,ody], center=true);
+      square([idx,idy], center=true);
+    }
+    
+    translate([0, (ody/2 + flap/2)]) square([odx,flap], center=true);
+    translate([0,-(ody/2 + flap/2)]) square([odx,flap], center=true);
+    
+    translate([-(odx/2 + flap/2), 0]) square([flap, ody], center=true);
+    translate([ (odx/2 + flap/2), 0]) square([flap, ody], center=true);
+  }
+   
+
+}
+
+//PopufareHousingScreenCoverPlate();

+ 11 - 11
experiment/production/housing/v2/PopufareHousingTop.scad

@@ -8,7 +8,7 @@
 
 include <PopufareHousingCommon.scad>
 
-module PopufareHousingTopPlate_hing0() {
+module PopufareHousingTopPlate_hinge0() {
   dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
   w = POPUFARE_HOUSING_WIDTH;
   h = POPUFARE_HOUSING_DEPTH-dh;
@@ -73,7 +73,7 @@ module PopufareHousingTopPlate_hing0() {
 // bot_to_under = 8.25
 // dw = 27.75, 35.5
 
-module PopufareHousingTopPlate_hing1() {
+module PopufareHousingTopPlate_hinge1() {
   dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
   w = POPUFARE_HOUSING_WIDTH;
   h = POPUFARE_HOUSING_DEPTH-dh;
@@ -85,10 +85,10 @@ module PopufareHousingTopPlate_hing1() {
 
   lip = _MATERIAL_THICKNESS;
   
-  hinge_de = POPUFARE_HINGE1_DE;
-  hinge_dh = POPUFARE_HINGE1_DH;
-  hinge_dw = POPUFARE_HINGE1_DW;
-  hinge_r = POPUFARE_HINGE1_R;
+  hinge_de = POPUFARE_HINGE1_TOP_DE;
+  hinge_dh = POPUFARE_HINGE1_TOP_DH;
+  hinge_dw = POPUFARE_HINGE1_TOP_DW;
+  hinge_r = POPUFARE_HINGE1_TOP_R + 0.25;
   
 
   difference() {
@@ -124,11 +124,11 @@ module PopufareHousingTopPlate_hing1() {
     
     // hinge attachment
     //
-    translate([ -hinge_dw/2, h/2 + lip - hinge_de ]) circle(hinge_r);
-    translate([  hinge_dw/2, h/2 + lip - hinge_de ]) circle(hinge_r);
+    translate([ -hinge_dw/2, h/2 - hinge_de ]) circle(hinge_r);
+    translate([  hinge_dw/2, h/2 - hinge_de ]) circle(hinge_r);
     
-    translate([  -hinge_dw/2, h/2 + lip - (hinge_de + hinge_dh) ]) circle(hinge_r);
-    translate([  hinge_dw/2, h/2 + lip - (hinge_de + hinge_dh) ]) circle(hinge_r);
+    translate([ -hinge_dw/2, h/2 - (hinge_de + hinge_dh) ]) circle(hinge_r);
+    translate([  hinge_dw/2, h/2 - (hinge_de + hinge_dh) ]) circle(hinge_r);
 
   }
 
@@ -136,7 +136,7 @@ module PopufareHousingTopPlate_hing1() {
 
 
 module PopufareHousingTopPlate() {
-  PopufareHousingTopPlate_hing1();
+  PopufareHousingTopPlate_hinge1();
 }
 
 //PopufareHousingTopPlate();

+ 1 - 1
experiment/production/housing/v2/export/export-all

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-VERSION=2.1.9
+VERSION=2.1.10
 
 function ngc_position {
   ifn="$1"

+ 11 - 4
experiment/production/scad/PopufareHousingCommon.scad

@@ -43,6 +43,8 @@ POPUFARE_SCREEN_HEIGHT_CAPACITIVE = 78;
 POPUFARE_SCREEN_WIDTH_RESISTIVE = 119;
 POPUFARE_SCREEN_HEIGHT_RESISTIVE = 71;
 
+POPUFARE_SCREEN_INNER_WIDTH_RESISTIVE = 117.5;
+POPUFARE_SCREEN_INNER_HEIGHT_RESISTIVE = 70;
 
 POPUFARE_GLAND_DIAMETER = 37;
 POPUFARE_SCREEN_OUTER_WIDTH = 122;
@@ -58,10 +60,15 @@ POPUFARE_FIXTURE_DX = 65;
 POPUFARE_FIXTURE_DY = 65;
 POPUFARE_FIXTURE_SCREW_D = 7.5;
 
-POPUFARE_HINGE1_DE = 8.25 + 3.75/2;
-POPUFARE_HINGE1_DH = (22 - 3.75*2) + 3.75;
-POPUFARE_HINGE1_DW = 27.75 + (35.5 - 27.75)/2;
-POPUFARE_HINGE1_R = 2;
+POPUFARE_HINGE1_TOP_R = 2;
+POPUFARE_HINGE1_TOP_DE = 7.25 + POPUFARE_HINGE1_TOP_R;
+POPUFARE_HINGE1_TOP_DH = (25 - 2*POPUFARE_HINGE1_TOP_R);
+POPUFARE_HINGE1_TOP_DW = (28 + 2*POPUFARE_HINGE1_TOP_R);
+
+POPUFARE_HINGE1_BACK_R = 2;
+POPUFARE_HINGE1_BACK_DE = 8.5 + POPUFARE_HINGE1_BACK_R;
+POPUFARE_HINGE1_BACK_DH = (22 - 2*POPUFARE_HINGE1_BACK_R);
+POPUFARE_HINGE1_BACK_DW = (28 + 2*POPUFARE_HINGE1_BACK_R);
 
 // bracket
 //