-
Notifications
You must be signed in to change notification settings - Fork 0
/
ski_binding2.scad
46 lines (39 loc) · 1.39 KB
/
ski_binding2.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
45
46
use </home/alex/3D_models/roller.scad>
w=100;
l=25;
h=20;
d=4;
d_bolt=5;
difference(){
bind();
translate([0,-60,0]) thor(130,14);
union(){
translate([0,-6,0]) cylinder(h+0.01,d_bolt/2,d_bolt/2,true,$fn=20);
translate([0,-6,h/2-3/2+0.01]) cylinder(3,5,5,true);
translate([w/3+5,4,0]){
cylinder(h+0.01,d_bolt/2,d_bolt/2,true,$fn=20);
translate([0,0,h/2-3/2+0.01]) cylinder(3,5,5,true);
}
translate([-w/3-5,4,0]){
cylinder(h+0.01,d_bolt/2,d_bolt/2,true,$fn=20);
translate([0,0,h/2-3/2+0.01]) cylinder(3,5,5,true);
}
translate([-w/3,5,5]) difference(){rotate(180) cube([100,100,100]);cylinder(10,18,18);}
mirror([1,0,0]) translate([-w/3,5,5]) difference(){rotate(180) cube([100,100,100]);cylinder(10,18,18);}
}
translate([0,l/2-h/2,0])difference(){
translate([0,h/4+0.01,h/4+0.01]) cube([w+0.01,h/2,h/2],true);
rotate([0,90,0]) cylinder(w+0.02,h/2,h/2,true);
}
}
module bind(){
cube([w,l,h],true);
difference(){
translate([0,l/2+h/4,-h/4+1]) cube([w,h/2,h/2+2],true);
translate([0,l/2+h/2,2]) rotate([0,90,0]) cylinder(w+0.02,h/2,h/2,true);
}
mirror([0,1,0]) difference(){
translate([0,l/2+h/4,-h/4+1]) cube([w,h/2,h/2+2],true);
translate([0,l/2+h/2,2]) rotate([0,90,0]) cylinder(w+0.02,h/2,h/2,true);
}
}