render=3; //if(render==1) sphere(r=20); //if(render==2) translate([10,-17,10]) rotate([-90,0,20]) color([0,0,1]) cylinder(r1=5,r2=0,h=10,center=true); //if(render==2) translate([-10,-17,10]) rotate([-90,0,-20]) color([0,0,1]) cylinder(r1=5,r2=0,h=10); //if(render==3) translate([0,-20,0]) rotate([90,0,0]) color([1,0,0]) cylinder(r1=2,r2=0,h=30); translate([0,7,16]) rotate([-30,0,0]) color([1,0,1]) cylinder(r1=20,r2=0,h=8); translate([0,0,-25]) color([1,0,0]) cylinder(r1=5,r2=5,h=5); translate([0,0,-85]) color([0,0,0.8]) cylinder(r1=20,r2=40,h=60,$fn=50); //brazo1 union(){ translate([40,0,-35]) sphere(r=15); translate([60,0,-65]) rotate([0,-25,0]) color([0,0,1]) cylinder(r1=10,r2=10,h=30); translate([63,0,-70]) sphere(r=10); translate([63,0,-105]) color([0,0,1]) cylinder(r1=8,r2=8,h=30); translate([63,0,-105]) color([1,1,1]) sphere(r=12); } //dedos1 translate([45,0,-108]) rotate([0,70,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([54,0,-120]) rotate([0,15,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([60,0,-123]) rotate([0,5,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([66,0,-122]) rotate([0,0,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([72,0,-120]) rotate([0,-10,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); //nudillos1 translate([43,0,-108]) color([1,1,1]) sphere(r=4); translate([52,0,-123]) color([1,1,1]) sphere(r=4); translate([58,0,-126]) color([1,1,1]) sphere(r=4); translate([66,0,-125]) color([1,1,1]) sphere(r=4); translate([72,0,-123]) color([1,1,1]) sphere(r=4); //cadera translate([0,0,-100]) color([0,1,0]) cylinder(r1=20,r2=20,h=20,$fn=50); //pierna1 union(){ color([0,1,0]) translate([18,0,-95]) sphere(r=14); translate([18,0,-122]) color([1,0,0]) cylinder(r1=10,r2=13,h=40,center=true); color([1,1,0]) translate([18,0,-145]) sphere(r=12); translate([18,0,-170]) color([1,0,0]) cylinder(r1=5,r2=10,h=50,center=true); //pie1 translate([18,-30,-205]) rotate([0,0,15]) cube([15,35,10]); } //pierna2 translate([-36,0,0]) union(){ color([0,1,0]) translate([18,0,-95]) sphere(r=14); translate([18,0,-122]) color([1,0,0]) cylinder(r1=10,r2=13,h=40,center=true); color([1,1,0]) translate([18,0,-145]) sphere(r=12); translate([18,0,-170]) color([1,0,0]) cylinder(r1=5,r2=10,h=50,center=true); } //pie2 translate([-35,-30,-205]) rotate([0,0,-15]) cube([15,35,10]); //brazo2 rotate([0,0,180]) union(){ translate([40,0,-35]) sphere(r=15); translate([60,0,-65]) rotate([0,-25,0]) color([0,0,1]) cylinder(r1=10,r2=10,h=30); translate([63,0,-70]) sphere(r=10); translate([63,0,-105]) color([0,0,1]) cylinder(r1=8,r2=8,h=30); translate([63,0,-105]) color([1,1,1]) sphere(r=12); //dedos1 translate([45,0,-108]) rotate([0,70,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([54,0,-120]) rotate([0,15,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([60,0,-123]) rotate([0,5,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([66,0,-122]) rotate([0,0,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); translate([72,0,-120]) rotate([0,-10,0]) color([1,0,0]) cylinder(r1=3,r2=3,h=7); //nudillos1 translate([43,0,-108]) color([1,1,1]) sphere(r=4); translate([52,0,-123]) color([1,1,1]) sphere(r=4); translate([58,0,-126]) color([1,1,1]) sphere(r=4); translate([66,0,-125]) color([1,1,1]) sphere(r=4); translate([72,0,-123]) color([1,1,1]) sphere(r=4); } translate([0,-15,-15]) rotate([90,90,0]) difference(){ color([0,1,0]) cylinder(r1=6,r2=6,h=5,center=true); translate([2,0,0]) color([1,0,0]) cube([8,16,8],center=true);}