Start of hinge designe
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
$fn=32*2;
|
||||
|
||||
thickness=1.6;
|
||||
width=208.5;
|
||||
depth=70.5;
|
||||
@@ -24,16 +23,21 @@ translate([thickness, thickness, 1.5]){
|
||||
}
|
||||
}
|
||||
|
||||
// usb floor
|
||||
// usb compartment
|
||||
usb_compartment();
|
||||
|
||||
// battery floor
|
||||
// battery compartment
|
||||
translate([146.6, 0, 0])
|
||||
battery_compartment();
|
||||
|
||||
// raspberry pi 4 cover
|
||||
rpi4_cover();
|
||||
|
||||
// hinge test
|
||||
translate([100, -80, 0]){
|
||||
male_hinge();
|
||||
}
|
||||
|
||||
module usb_compartment(){
|
||||
usb_tray_width=31;
|
||||
usb_tray_height=4;
|
||||
@@ -138,3 +142,13 @@ module right_slope(w, d, h){
|
||||
points=[[0,d,0], [0,0,0], [w,0,0], [w,d,0], [0,d,h], [0,0,h]],
|
||||
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]);
|
||||
}
|
||||
|
||||
module male_hinge(){
|
||||
translate([0, 0, -10+th/2])
|
||||
cube([l, w, th], center=true);
|
||||
//generating 2 tabs with sp spacing
|
||||
translate([0, -sp, 0])
|
||||
tab();
|
||||
translate([0, sp, 0])
|
||||
tab();
|
||||
}
|
||||
Reference in New Issue
Block a user