Skip to content

Commit

Permalink
thicken walls, remove weird random shifts, to-do: figure out how to m…
Browse files Browse the repository at this point in the history
…ake room for jig slot around posts...
  • Loading branch information
goldfishlaser committed Jun 16, 2024
1 parent f4df1f0 commit ad5a10d
Showing 1 changed file with 22 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ module make_r_face_m(){
e_l=28;
e_h=8;

s_p=4; //make room for jig slot


//parameters
Expand All @@ -340,7 +341,7 @@ module make_r_face_m(){
post_d = 2.5; //support post for screw hole
hole_d= 1.5; //hole for screws
lid_thicc = 1;
lid_lip = .5; //inset
lid_lip = 1; //inset
lid_tol = .5;

module posts(x,y,z,h,r){
Expand Down Expand Up @@ -399,23 +400,24 @@ module make_r_face_m(){

difference(){
//support posts

posts(
x=e_w/2 - wall_thicc/2 - post_d/2 -.5,
y=e_l/2 - wall_thicc/2 - post_d/2-.5,
z=wall_thicc-.5,
h=e_h - wall_thicc - lid_thicc +.5,
x=e_w/2 - wall_thicc/2 - post_d/2 ,
y=e_l/2 - wall_thicc/2 - post_d/2,
z=wall_thicc,
h=e_h - wall_thicc - lid_thicc,
r=post_d/2);


//screw holes
posts(
x=e_w/2 - wall_thicc/2 - post_d/2-.5,
y=e_l/2 - wall_thicc/2 - post_d/2-.5,
x=e_w/2 - wall_thicc/2 - post_d/2,
y=e_l/2 - wall_thicc/2 - post_d/2,
z=wall_thicc,
h=e_h - wall_thicc - lid_thicc +.5,
h=e_h - wall_thicc - lid_thicc,
r=hole_d/2);
}

}

translate([40,0,-e_h-4]){
difference(){
Expand All @@ -432,8 +434,8 @@ difference(){
//holes in lid

posts(
x=e_w/2 - wall_thicc/2 - post_d/2 -.5,
y=e_l/2 - wall_thicc/2 - post_d/2 -.5,
x=e_w/2 - wall_thicc/2 - post_d/2 ,
y=e_l/2 - wall_thicc/2 - post_d/2,
z=wall_thicc,
h=e_h - wall_thicc - lid_thicc +10,
r=hole_d/2);
Expand Down Expand Up @@ -556,7 +558,7 @@ module enclosure_b(){
post_d = 2.5; //support post for screw hole
hole_d= 1.5; //hole for screws
lid_thicc = 1;
lid_lip = .5; //inset
lid_lip = 1; //inset
lid_tol = .5;


Expand Down Expand Up @@ -617,18 +619,18 @@ module enclosure_b(){
difference(){
//support posts
posts(
x=e_w/2 - wall_thicc/2 - post_d/2-.5,
y=e_l/2 - wall_thicc/2 - post_d/2-.5,
z=wall_thicc-.5,
x=e_w/2 - wall_thicc/2 - post_d/2,
y=e_l/2 - wall_thicc/2 - post_d/2,
z=wall_thicc,
h=e_h - wall_thicc - lid_thicc +1,
r=post_d/2);


//screw holes
posts(
x=e_w/2 - wall_thicc/2 - post_d/2-.5,
y=e_l/2 - wall_thicc/2 - post_d/2-.5,
z=wall_thicc-.5,
x=e_w/2 - wall_thicc/2 - post_d/2,
y=e_l/2 - wall_thicc/2 - post_d/2,
z=wall_thicc,
h=e_h - wall_thicc - lid_thicc +1,
r=hole_d/2);
}
Expand All @@ -648,8 +650,8 @@ difference(){

//holes in lid
posts(
x=e_w/2 - wall_thicc/2 - post_d/2-.5,
y=e_l/2 - wall_thicc/2 - post_d/2-.5,
x=e_w/2 - wall_thicc/2 - post_d/2,
y=e_l/2 - wall_thicc/2 - post_d/2,
z=e_h - lid_thicc,
h=wall_thicc - lid_thicc + 1,
r=hole_d/2);
Expand Down

0 comments on commit ad5a10d

Please sign in to comment.