Ver Fonte

housing fixes

* moved usb power to bottom inner plate instead of left housing plate
* trying to get the buck converter hole spacing correct
* updating default gcode start position
clementinecomputing há 6 anos atrás
pai
commit
80cab22243

+ 1 - 1
experiment/production/adapter-box/export/export-all

@@ -6,7 +6,7 @@ function ngc_position {
   ifn="$1"
 
   offsetx=10
-  offsety=10
+  offsety=15
 
   if [[ "$ifn" == "" ]] ; then
     echo "provide file"

+ 6 - 1
experiment/production/housing/v2/PopufareHousingInnerBack.scad

@@ -90,7 +90,12 @@ module PopufareHousingInnerBackPlate() {
     translate([ hole_width/2,  hole_height/2]) circle(_M3r);
     translate([-hole_width/2,  hole_height/2]) circle(_M3r);
 
+    // usb power out
+    //
+    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);
+
   }
 }
 
-//PopufareHousingInnerBackPlate();
+//PopufareHousingInnerBackPlate();

+ 18 - 18
experiment/production/housing/v2/PopufareHousingSideLeft.scad

@@ -11,72 +11,72 @@ include <PopufareHousingCommon.scad>
 module PopufareHousingSideLeftPlate() {
   w = POPUFARE_HOUSING_DEPTH;
   h = POPUFARE_HOUSING_HEIGHT;
-  
+
   br = POPUFARE_BRACKET_D/2.0;
   bx = POPUFARE_BRACKET_CX;
   de = POPUFARE_BRACKET_DE;
   des = POPUFARE_BRACKET_DE_SHORT;
-  
+
   dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
   alen = dh*sqrt(2.0);
   w_right = w - dh;
-  
+
   lip = _MATERIAL_THICKNESS;
-  
+
   buck_dw0 = POPUFARE_BUCK_HOLE_WIDTH0;
   buck_dw1 = POPUFARE_BUCK_HOLE_WIDTH1;
   buck_dh = POPUFARE_BUCK_HOLE_DH;
   buck_r = POPUFARE_BUCK_HOLE_R;
-  
+
   buck_center = [35,-3];
 
   difference() {
     union() {
       square([w,h], center=true);
-      
+
       // bottom skirt to cover under plate
       //
       translate([0,-(h/2 + lip/2)]) square([w,lip], center=true);
-      
+
       translate([-(w/2-dh),h/2 + lip/2])
       difference() {
         square([lip, lip], center=true);
         translate([-lip,-lip])  rotate(45, [0,0,1]) square([3*lip, 3*lip]);
       }
-      
+
       translate([-w/2,h/2 - dh])
       difference() {
         square([lip, lip], center=true);
         translate([-lip,-lip])  rotate(45, [0,0,1]) square([3*lip, 3*lip]);
       }
     }
-    
+
     // chop off angle
     //
     translate([-w/2,-(h/2-POPUFARE_FRONT_HEIGHT)]) rotate(45, [0,0,1]) square([4*w,4*w]);
-    
+
     // bottom bracket
     //
     translate([-(w/2-de), -(h/2-bx) ]) circle(br);
     translate([ (w/2-de), -(h/2-bx) ]) circle(br);
-    
+
     // front bracket
     //
     translate( [ -(w/2-bx), -(h/2 - POPUFARE_FRONT_HEIGHT/2) ]) circle(br);
-    
+
     // front angle bracket
     //
     translate([-w/2, -(h/2-POPUFARE_FRONT_HEIGHT)]) rotate(45, [0,0,1])
       translate([de/2, -bx]) circle(br);
     translate([-w/2, -(h/2-POPUFARE_FRONT_HEIGHT)]) rotate(45, [0,0,1])
       translate([alen - de/2, -bx]) circle(br);
-      
+
     // top bracket
     //
     //translate([ (w/2 - (w_right/2.0)), (h/2 - bx) ]) circle(br);
     translate([ (w/2 - des), (h/2 - bx) ]) circle(br);
     translate([ (w/2 - (w_right) + des), (h/2 - bx) ]) circle(br);
-    
+
     // buck screw attachment
     //
     translate(buck_center)
@@ -86,12 +86,12 @@ module PopufareHousingSideLeftPlate() {
       translate([-buck_dw1/2,  buck_dh/2]) circle(buck_r);
       translate([ buck_dw1/2,  buck_dh/2]) circle(buck_r);
     }
-    
+
     // usb power out
     //
-    translate([0,-h/4-10]) translate([0,_POWER_USB_HOLE_DW/2]) circle(_POWER_USB_HOLE_R);
-    translate([0,-h/4-10]) translate([0,-_POWER_USB_HOLE_DW/2]) circle(_POWER_USB_HOLE_R);
+    //translate([0,-h/4-10]) translate([0,_POWER_USB_HOLE_DW/2]) circle(_POWER_USB_HOLE_R);
+    //translate([0,-h/4-10]) translate([0,-_POWER_USB_HOLE_DW/2]) circle(_POWER_USB_HOLE_R);
   }
 }
 
-//PopufareHousingSideLeftPlate();
+//PopufareHousingSideLeftPlate();

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

@@ -1,12 +1,12 @@
 #!/bin/bash
 
-VERSION=2.1.8
+VERSION=2.1.9
 
 function ngc_position {
   ifn="$1"
 
   offsetx=10
-  offsety=10
+  offsety=15
 
   if [[ "$ifn" == "" ]] ; then
     echo "provide file"

+ 1 - 1
experiment/production/scad/PopufareHousingCommon.scad

@@ -84,7 +84,7 @@ POPUFARE_BUCK_HOLE_R = 3.0/2;
 
 POPUFARE_BUCK_WIDTH = 49.8;
 POPUFARE_BUCK_HEIGHT = 52.9;
-POPUFARE_BUCK_HOLE_DH = 25 + (6.25)/2 + 3.0/2;
+POPUFARE_BUCK_HOLE_DH = 25 + (6.25)/2 - 3.0/2;
 
 // 117 - 111 = 6
 // 111 + 3 = 114