From f7e74804eb82f19f2151c6ac1e81c67cabc40d86 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sat, 1 Apr 2017 16:44:29 -0700 Subject: [PATCH] colorize the cat --- box-cat.scad | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/box-cat.scad b/box-cat.scad index 119bf12..5583e36 100644 --- a/box-cat.scad +++ b/box-cat.scad @@ -1,12 +1,22 @@ +/* + TODO: box-dog + floppy ears + chub round tail + little tongue + TODO: sphere-cow +*/ + /* GNU AGPLv3 (or later at your option) see bottom for more license info */ $fn = 50; // body +color("red") cube(30); // ears +color("blue"){ translate([5, 5, 29]) { rotate(a = -15, v = [0, 1, 0]) { minkowski() { @@ -18,31 +28,40 @@ translate([30 - 5, 5, 29]) { minkowski() { cylinder(h = 6, r1 = 4, r2 = 0); sphere(1); } } } +} // eyes +color("green"){ translate([7, 3, 20]) { sphere(5); } translate([30 - 7, 3, 20]) { sphere(5); } +} // nose +color("yellow"){ translate([15, 4.5, 19]) { sphere(5); } +} // front paws +color("orange"){ translate([0, -5, 0]) { cube([10, 5, 5]); } translate([30 - 10, -5, 0]) { cube([10, 5, 5]); } +} // back paws +color("purple"){ translate([-5, 30 - 10, 0]) { cube([5, 10, 5]); } translate([30, 30 - 10, 0]) { cube([5, 10, 5]); } +} // tail translate([(30 - 3)/2, 30, 0]) { -- 2.30.2