| 1 | /* |
| 2 | TODO: box-dog |
| 3 | floppy ears |
| 4 | chub round tail |
| 5 | little tongue |
| 6 | TODO: sphere-cow |
| 7 | */ |
| 8 | |
| 9 | /* GNU AGPLv3 (or later at your option) |
| 10 | see bottom for more license info */ |
| 11 | |
| 12 | $fn = 50; |
| 13 | |
| 14 | // body |
| 15 | color("red") |
| 16 | cube(30); |
| 17 | |
| 18 | // ears |
| 19 | color("blue"){ |
| 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); } } } |
| 31 | } |
| 32 | |
| 33 | // eyes |
| 34 | color("green"){ |
| 35 | translate([7, 3, 20]) { |
| 36 | sphere(5); } |
| 37 | |
| 38 | translate([30 - 7, 3, 20]) { |
| 39 | sphere(5); } |
| 40 | } |
| 41 | |
| 42 | // nose |
| 43 | color("yellow"){ |
| 44 | translate([15, 4.5, 19]) { |
| 45 | sphere(5); } |
| 46 | } |
| 47 | |
| 48 | // front paws |
| 49 | color("orange"){ |
| 50 | translate([0, -5, 0]) { |
| 51 | cube([10, 5, 5]); } |
| 52 | |
| 53 | translate([30 - 10, -5, 0]) { |
| 54 | cube([10, 5, 5]); } |
| 55 | } |
| 56 | |
| 57 | // back paws |
| 58 | color("purple"){ |
| 59 | translate([-5, 30 - 10, 0]) { |
| 60 | cube([5, 10, 5]); } |
| 61 | |
| 62 | translate([30, 30 - 10, 0]) { |
| 63 | cube([5, 10, 5]); } |
| 64 | } |
| 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 | */ |