colorize the cat
authordaniel watson <ozzloy@gmail.com>
Sat, 1 Apr 2017 23:44:29 +0000 (16:44 -0700)
committerdaniel watson <ozzloy@gmail.com>
Sat, 1 Apr 2017 23:44:29 +0000 (16:44 -0700)
box-cat.scad

index 119bf1294901ee84c8c171647249f402a40b22d3..5583e369d0b7933081c9af9c8f2df14bdb55ec3d 100644 (file)
@@ -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]) {