-
Notifications
You must be signed in to change notification settings - Fork 0
/
cubo_side_ext.scad
99 lines (73 loc) · 2.2 KB
/
cubo_side_ext.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
98
99
include <cubo_common.scad>
use <cubo_side_empty.scad>
module ext_connector_top() {
difference() {
translate([0,0,side_thickness/4])
cube([10,10,side_thickness/2], center=true);
translate([0,0,-delta])
scale([1.1,1.1,1.1]) nut(default_nut);
translate([0,0,5])
scale([1.2,1.2,1.2]) screw(default_screw, 10);
}
}
module ext_connector_bottom() {
difference() {
translate([0,0,side_thickness/4])
cube([10,10,side_thickness/2], center=true);
translate([0,0,0])
rotate([0,180,0])
screw(default_screw, 10);
translate([0,0,5])
screw(default_screw, 10);
}
}
module ext_connector_top_set() {
translate([70,70,0])
ext_connector_top();
translate([70,-70,0])
ext_connector_top();
translate([-70,70,0])
ext_connector_top();
translate([-70,-70,0])
ext_connector_top();
}
module ext_connector_bottom_set() {
translate([70,70,0])
ext_connector_bottom();
translate([70,-70,0])
ext_connector_bottom();
translate([-70,70,0])
ext_connector_bottom();
translate([-70,-70,0])
ext_connector_bottom();
}
module cubo_side_ext() {
cubo_side_empty(text="ext");
ext_connector_bottom_set();
}
module ext_plate() {
difference() {
translate([0,0,side_thickness/2])
cube([side_length - frame_length,side_length - frame_length,side_thickness], center=true);
translate([70,70,0])
cube([10,10,20], center=true);
translate([70,-70,0])
cube([10,10,20], center=true);
translate([-70,70,0])
cube([10,10,20], center=true);
translate([-70,-70,0])
cube([10,10,20], center=true);
translate([90,0,0])
cylinder(h=10, r=50, center=true);
translate([-90,0,0])
cylinder(h=10, r=50, center=true);
translate([0,90,0])
cylinder(h=10, r=50, center=true);
translate([0,-90,0])
cylinder(h=10, r=50, center=true);
}
translate([0,0,side_thickness/2])
ext_connector_top_set();
}
//cubo_side_ext();
ext_plate();