-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdt_test.scad
44 lines (36 loc) · 1.18 KB
/
dt_test.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
include <Libs.scad>
include <ss_parms.scad>
libEcho=false;
rod_test = false;
translate([-30,5,0])
dt_test(0.950);
translate([5,5,0])
dt_test(0.925);
translate([-30,-35,0])
dt_test(0.900);
translate([5,-35,0])
dt_test(0.875);
module dt_test(scale = 0.975){
difference(){
union(){
cube(size=[25, ys_width, ys_height]);
translate([0, 6.75, ys_height/2]) mirror([1,0,0])
dovetail(male = true, height = ys_height, fit_scale = scale);
translate([0, ys_width - 6.75, ys_height/2]) mirror([1,0,0])
dovetail(male = true, height = ys_height, fit_scale = scale);
if (rod_test){
translate([25 / 2, ys_width / 2, ys_height + ys_rod_length / 2])
difference(){
cylinder(r=ys_rod_diameter / 2 + ys_rod_wall, h=ys_rod_length+ 0.01, center=true, $fn=resolution(ys_rod_diameter));
cylinder(r=ys_rod_diameter / 2, h=ys_rod_length + 0.1, center=true, $fn=resolution(ys_rod_diameter));
}
}
}
translate([25, 6.75, ys_height/2])
mirror([1,0,0])
dovetail(male = false, height = ys_height+ 0.01);
translate([25, ys_width - 6.75, ys_height/2])
mirror([1,0,0])
dovetail(male = false, height = ys_height+ 0.01);
}
}