sc808: disk-slider back module

main
zeus 2023-06-24 15:26:39 +02:00
parent 3adb41c979
commit ce77ff95c3
1 changed files with 84 additions and 2 deletions

View File

@ -40,7 +40,9 @@ draw_hole_y3=121;
filler_w=draw_w_inner-slide_base_w-slack;
flange_d=1;
flange_h=3;
post_h=4;
link1_l=slide_base_w/2;
link2_l=slide_base_w-(slide_base_hole_dia*3.4);
// #####################################
module drawer_mockup(){
color("brown")translate([0,draw_l_front/2,draw_h_front/2])cube([draw_w_front,draw_l_front,draw_h_front],center=true);
@ -163,6 +165,86 @@ module clip_wide(){
}
}
}
module clip_rear_base(){
translate([0,slide_base_l/2-slide_base_l/2.5,slide_bottom_t/2+mt*1.5]){
difference(){
union(){
hull(){
translate([slide_base_w/3,0,mt*0.5])cylinder(h=mt*2,r=slide_base_hole_dia*1.15,center=true);
translate([-slide_base_w/3,0,mt*0.5])cylinder(h=mt*2,r=slide_base_hole_dia*1.15,center=true);
}
}
translate([slide_base_w/5,0,mt*2])cylinder(h=mt*2,r=slide_base_hole_dia*0.75+q,center=true);
translate([-slide_base_w/5,0,mt*2])cylinder(h=mt*2,r=slide_base_hole_dia*0.75+q,center=true);
translate([slide_base_w/3,0,mt*2])cylinder(h=mt*2,r=slide_base_hole_dia*0.75+q,center=true);
translate([-slide_base_w/3,0,mt*2])cylinder(h=mt*2,r=slide_base_hole_dia*0.75+q,center=true);
for(x=[-(slide_base_w/3),(slide_base_w/3),-(slide_base_w/5),(slide_base_w/5)]){
translate([x,0,0])cylinder(h=slide_bottom_t+Q,r=slide_base_hole_dia/2-0.5,center=true);
}
for(x=[-slide_channel_w/2:1:slide_channel_w/2]){
hull(){
translate([x,0,-slide_base_hole_dia/2+mt/2-layer*2]){
rotate([90,0,0])cylinder(h=slide_base_hole_dia*2.3+2*q,r=rod_hole_dia/2,center=true);
}
}
}
}
translate([0,0,post_h/2+mt*1.5-q]){
difference(){
cylinder(r=slide_base_hole_dia+q,h=post_h,center=true,$fn=100);
cylinder(r=slide_base_hole_dia/2,h=post_h+q,center=true);
}
}
}
}
module linkage(){
translate([0,slide_base_l/2-slide_base_l/2.5,slide_bottom_t/2+mt*1.5+post_h/2+mt*1.5]){
rotate([0,0,55])difference(){
union(){
translate([0,-(link1_l/2),0])cube([post_h*2,link1_l,post_h-1],center=true);
// set1
cylinder(h=post_h-1,r=slide_base_hole_dia+3,center=true);
// set2
translate([0,-link1_l,0])cylinder(h=post_h-1,r=slide_base_hole_dia+3,center=true);
}
cylinder(h=post_h-1+q,r=slide_base_hole_dia+0.25,center=true);
translate([0,-link1_l,0])cylinder(h=post_h-1+q,r=slide_base_hole_dia+0.25,center=true);
}
translate([0,-21.5,-post_h]){
difference(){
union(){
cube([link2_l,post_h*2,post_h-1],center=true);
translate([-(link2_l/2),0,0])cylinder(h=post_h-1,r=slide_base_hole_dia+3,center=true);
}
translate([-(link2_l/2),0,0])cylinder(h=post_h-1+q,r=slide_base_hole_dia+0.25,center=true);
}
translate([link2_l/2,0,(post_h)/2]){
difference(){
cylinder(r=slide_base_hole_dia+q,h=post_h-1+post_h,center=true,$fn=100);
translate([0,0,post_h/2])cylinder(r=slide_base_hole_dia/2,h=post_h+q,center=true);
}
}
}
}
// washer, arbitrary values
translate([0,13,13])difference(){
cylinder(r=7,h=1.5,center=true,$fn=100);
cylinder(r=2,h=1.5+q,center=true,$fn=100);
}
}
module base_end(){
difference(){
slider_base();
translate([0,slide_base_l/2+slide_base_l/7,0])cube([slide_base_w+q,slide_base_l+q,slide_base_h*2+q],center=true);
}
clip_rear_base();
linkage();
};
// #####################################
//drawer_mockup();
difference(){
@ -181,7 +263,7 @@ difference(){
//translate([13,draw_l_front+5.5,0])clip_wide();
translate([-(draw_w_inner/2-filler_w/2-slack/2),draw_l_front+draw_l_inner/2-5,slide_wall_z_offset])color("pink")slider_filler();
translate([13,draw_l_front-25.5,0])!base_end();