-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path24WC-02-FOOT PAD.scad
97 lines (95 loc) · 4.19 KB
/
24WC-02-FOOT PAD.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//!OpenSCAD
outer_radius = 15;
overall_thickness = 18;
rib_thickness = 6;
width = 155;
depth = 101;
hole_diameter = 14;
counterbore_depth = 8;
counterbore_diameter = 22;
central_diameter = 55;
central_height = 45;
central_hole_diameter = 42;
rib_width = 8;
rib_lower_height = 21;
slot_depth = 13;
slot_width = 8;
difference() {
union(){
hull(){
translate([outer_radius, outer_radius, 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=(overall_thickness - rib_thickness), center=false);
}
translate([(width - outer_radius), outer_radius, 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=(overall_thickness - rib_thickness), center=false);
}
translate([outer_radius, (depth - outer_radius), 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=(overall_thickness - rib_thickness), center=false);
}
translate([(width - outer_radius), (depth - outer_radius), 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=(overall_thickness - rib_thickness), center=false);
}
}
hull(){
translate([outer_radius, outer_radius, 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=overall_thickness, center=false);
}
translate([(width - outer_radius), (depth - outer_radius), 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=overall_thickness, center=false);
}
}
hull(){
translate([outer_radius, (depth - outer_radius), 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=overall_thickness, center=false);
}
translate([(width - outer_radius), outer_radius, 0]){
cylinder(r1=outer_radius, r2=outer_radius, h=overall_thickness, center=false);
}
}
translate([(width / 2), (depth / 2), 0]){
cylinder(r1=(central_diameter / 2), r2=(central_diameter / 2), h=central_height, center=false);
}
hull(){
translate([(width / 2), (depth / 2), (rib_lower_height / 2)]){
cube([rib_width, depth, rib_lower_height], center=true);
}
translate([(width / 2), (depth / 2), (central_height / 2)]){
cube([rib_width, central_diameter, central_height], center=true);
}
}
}
union(){
translate([outer_radius, outer_radius, (-rib_thickness)]){
cylinder(r1=(hole_diameter / 2), r2=(hole_diameter / 2), h=(overall_thickness + rib_thickness * 2), center=false);
}
translate([(width - outer_radius), outer_radius, (-rib_thickness)]){
cylinder(r1=(hole_diameter / 2), r2=(hole_diameter / 2), h=(overall_thickness + rib_thickness * 2), center=false);
}
translate([outer_radius, (depth - outer_radius), (-rib_thickness)]){
cylinder(r1=(hole_diameter / 2), r2=(hole_diameter / 2), h=(overall_thickness + rib_thickness * 2), center=false);
}
translate([(width - outer_radius), (depth - outer_radius), (-rib_thickness)]){
cylinder(r1=(hole_diameter / 2), r2=(hole_diameter / 2), h=(overall_thickness + rib_thickness * 2), center=false);
}
}
union(){
translate([outer_radius, outer_radius, (overall_thickness - counterbore_depth)]){
cylinder(r1=(counterbore_diameter / 2), r2=(counterbore_diameter / 2), h=(counterbore_depth + overall_thickness), center=false);
}
translate([(width - outer_radius), outer_radius, (overall_thickness - counterbore_depth)]){
cylinder(r1=(counterbore_diameter / 2), r2=(counterbore_diameter / 2), h=(counterbore_depth + overall_thickness), center=false);
}
translate([outer_radius, (depth - outer_radius), (overall_thickness - counterbore_depth)]){
cylinder(r1=(counterbore_diameter / 2), r2=(counterbore_diameter / 2), h=(counterbore_depth + overall_thickness), center=false);
}
translate([(width - outer_radius), (depth - outer_radius), (overall_thickness - counterbore_depth)]){
cylinder(r1=(counterbore_diameter / 2), r2=(counterbore_diameter / 2), h=(counterbore_depth + overall_thickness), center=false);
}
}
translate([(width / 2), (depth / 2), (-overall_thickness)]){
cylinder(r1=(central_hole_diameter / 2), r2=(central_hole_diameter / 2), h=(central_height + overall_thickness * 2), center=false);
}
translate([(width / 2), (depth / 2), central_height]){
cube([central_diameter, slot_width, (slot_depth * 2)], center=true);
}
}