f7e74804 |
1 | /* |
2 | TODO: box-dog |
3 | floppy ears |
4 | chub round tail |
5 | little tongue |
6 | TODO: sphere-cow |
7 | */ |
8 | |
03d5f1fa |
9 | /* GNU AGPLv3 (or later at your option) |
10 | see bottom for more license info */ |
11 | |
12 | $fn = 50; |
13 | |
14 | // body |
f7e74804 |
15 | color("red") |
03d5f1fa |
16 | cube(30); |
17 | |
18 | // ears |
f7e74804 |
19 | color("blue"){ |
03d5f1fa |
20 | translate([5, 5, 29]) { |
21 | rotate(a = -15, v = [0, 1, 0]) { |
22 | minkowski() { |
23 | cylinder(h = 6, r1 = 4, r2 = 0); |
24 | sphere(1); } } } |
25 | |
26 | translate([30 - 5, 5, 29]) { |
27 | rotate(a = 15, v = [0, 1, 0]) { |
28 | minkowski() { |
29 | cylinder(h = 6, r1 = 4, r2 = 0); |
30 | sphere(1); } } } |
f7e74804 |
31 | } |
03d5f1fa |
32 | |
33 | // eyes |
f7e74804 |
34 | color("green"){ |
03d5f1fa |
35 | translate([7, 3, 20]) { |
36 | sphere(5); } |
37 | |
38 | translate([30 - 7, 3, 20]) { |
39 | sphere(5); } |
f7e74804 |
40 | } |
03d5f1fa |
41 | |
42 | // nose |
f7e74804 |
43 | color("yellow"){ |
03d5f1fa |
44 | translate([15, 4.5, 19]) { |
45 | sphere(5); } |
f7e74804 |
46 | } |
03d5f1fa |
47 | |
48 | // front paws |
f7e74804 |
49 | color("orange"){ |
03d5f1fa |
50 | translate([0, -5, 0]) { |
51 | cube([10, 5, 5]); } |
52 | |
53 | translate([30 - 10, -5, 0]) { |
54 | cube([10, 5, 5]); } |
f7e74804 |
55 | } |
03d5f1fa |
56 | |
57 | // back paws |
f7e74804 |
58 | color("purple"){ |
03d5f1fa |
59 | translate([-5, 30 - 10, 0]) { |
60 | cube([5, 10, 5]); } |
61 | |
62 | translate([30, 30 - 10, 0]) { |
63 | cube([5, 10, 5]); } |
f7e74804 |
64 | } |
03d5f1fa |
65 | |
66 | // tail |
67 | translate([(30 - 3)/2, 30, 0]) { |
68 | cube([3, 5, 3]); } |
69 | |
70 | /* |
71 | This file is part of 3d-printables. |
72 | |
73 | 3d-printables is free software: you can redistribute it and/or modify |
74 | it under the terms of the GNU Affero General Public License as published by |
75 | the Free Software Foundation, either version 3 of the License, or |
76 | (at your option) any later version. |
77 | |
78 | 3d-printables is distributed in the hope that it will be useful, |
79 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
80 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
81 | GNU Affero General Public License for more details. |
82 | |
83 | You should have received a copy of the GNU Affero General Public License |
84 | along with challenge-bot. If not, see <http://www.gnu.org/licenses/>. |
85 | */ |