-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmiddle.scad
38 lines (29 loc) · 1.02 KB
/
middle.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
include <constants.scad>;
use<utils.scad>;
$fn = 90;
difference() {
union() {
cylinder(r = middle_outer_diameter / 2,
h = middle_height);
translate([0, 0, -insert_length])
cylinder(r = insert_diameter / 2,
h = insert_length);
translate([0, 0, middle_height])
cylinder(r = insert_diameter / 2,
h = insert_length);
arms([0, 180], insert_arm_radius, middle_long_loop_arms_height, insert_diameter);
arms([90, 270], insert_arm_radius, middle_short_loop_arms_height, insert_diameter);
}
union() {
cylinder(r = middle_inner_diameter / 2,
h = middle_height);
translate([0, 0, -insert_length])
cylinder(r = insert_hole_dia / 2,
h = insert_length);
translate([0, 0, middle_height])
cylinder(r = insert_hole_dia / 2,
h = insert_length);
arms([0, 180], insert_arm_radius, middle_long_loop_arms_height, insert_hole_dia);
arms([90, 270], insert_arm_radius, middle_short_loop_arms_height, insert_hole_dia);
}
}