$fn = 28; part = "relaxed"; module segment(s=10, t=12) { color("#e8a0b4") hull() { sphere(d=s); translate([t,0,0]) sphere(d=s*0.92); } } module axolotl(bend=0) { // body segments translate([0,0,8]) { for (i=[0:15]) { ang = bend * sin(i*12); rotate([0,0, ang]) translate([i*11, i*i*bend*0.002, 0]) { segment(i==0?14: (i==15?7:10), 11); } } // head color("#e8a0b4") translate([-8,0,2]) scale([1.3,1,0.9]) sphere(d=18); // eyes color("#2a2420") translate([-10,6,8]) sphere(d=3.2); color("#2a2420") translate([-10,-6,8]) sphere(d=3.2); // smile color("#c07080") translate([-16,0,0]) rotate([0,90,0]) cylinder(d=2, h=2); // gills color("#d07090") for (s=[-1,1], k=[-1,0,1]) translate([-6, s*8, 4+k*2]) rotate([s*50, -20+k*15, 0]) cylinder(d1=3, d2=1, h=14); // legs color("#e8a0b4") for (i=[3,7], s=[-1,1]) translate([i*11, s*8, -2]) rotate([s*60,0,0]) cylinder(d=4, h=10); } } if (part=="bent") axolotl(18); else axolotl(0);