forked from jcrocholl/kossel
-
Notifications
You must be signed in to change notification settings - Fork 36
/
glass_tab.scad
28 lines (24 loc) · 934 Bytes
/
glass_tab.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
include <configuration.scad>;
sticky_width = 25.4;
sticky_length = 25.4;
sticky_offset = 8; // Distance from screw center to glass edge.
// Make the round edge line up with the outside of OpenBeam.
screw_offset = sticky_width/2 - 7.5;
cube_length = sticky_length + sticky_offset - screw_offset;
module glass_tab() {
difference() {
translate([0, screw_offset, 0]) union() {
cylinder(r=sticky_width/2, h=thickness, center=true);
translate([0, cube_length/2, 0])
cube([sticky_width, cube_length, thickness], center=true);
}
cylinder(r=m3_wide_radius, h=20, center=true, $fn=12);
}
// Scotch restickable tab for mounting.
translate([0, sticky_length/2+sticky_offset, thickness/2]) %
cube([sticky_width, sticky_length, 0.7], center=true);
// Horizontal OpenBeam.
translate([0, 0, (15+thickness)/-2]) %
cube([100, 15, 15], center=true);
}
translate([0, 0, thickness/2]) glass_tab();