-
Notifications
You must be signed in to change notification settings - Fork 4
/
cuttlefish-support.scad
37 lines (29 loc) · 1.01 KB
/
cuttlefish-support.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
// Cuttlefish supporter 3D Design
// Copyright (c) 2014 by Jeremy Bennett <jeremy.bennett@embecosm.com>
// Licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported
// License.
// You should have received a copy of the license along with this work. If not,
// see <http://creativecommons.org/licenses/by-sa/3.0/>.
// -----------------------------------------------------------------------------
// The main block
module main_block () {
union () {
translate (v = [0, 0, 5])
cube (size = [18, 6, 10], center = true);
translate (v = [18 / 2, 0, 13 / 2])
cylinder (r = 3, h = 13, center = true, $fn = 24);
translate (v = [-18 / 2, 0, 13 / 2])
cylinder (r = 3, h = 13, center = true, $fn = 24);
}
}
// The support
module cuttlefish_support () {
difference () {
main_block ();
translate (v = [18 / 2, 0, 13 / 2])
cylinder (r = 1.7, h = 13.5, center = true, $fn = 24);
translate (v = [-18 / 2, 0, 13 / 2])
cylinder (r = 1.7, h = 13.5, center = true, $fn = 24);
}
}
cuttlefish_support ();