Mercurial > ukubik
changeset 41:f19e3281c5cc
Inverse kinematics diagram
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Fri, 15 Aug 2014 21:39:24 +0200 |
| parents | 81454c0a97cc |
| children | 039b178fdef5 |
| files | scad/ik.scad |
| diffstat | 1 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scad/ik.scad Fri Aug 15 21:39:24 2014 +0200 @@ -0,0 +1,29 @@ +include <leg.scad> + +module line(len) { + color("yellow") { + translate([0, 0, 0]) cylinder(r=0.2, h=len, $fn=6); + } +} + +module arrow(len) { + color("red") { + translate([0, 0, 1]) cylinder(r=0.25, h=len - 2, $fn=6); + cylinder(r1=0, r2=2, h=3, $fn=16); + translate([0, 0, len - 3]) cylinder(r1=2, r2=0, h=3, $fn=16); + } +} + + +rotate([90, 0, 0]) arrow(53); +translate([0, -53, 0]) rotate([0, -90, 0]) arrow(53); +translate([0, 0, 28]) rotate([45, -90, 0]) line(22); +translate([0, 0, 0]) rotate([45, -90, 0]) line(22); +translate([-16, -16, 0]) arrow(28); +translate([-16, -16, 0]) rotate([45, -90, 0]) arrow(53); +translate([-16, -16, 28]) rotate([0, 0, -45]) rotate([118, 0, 0]) arrow(60); +translate([-16, -16, 28]) rotate([0, 0, -45]) rotate([81, 0, 0]) line(49); +translate([-53, -53, 0]) rotate([0, 0, -45]) rotate([-6, 0, 0]) line(36); +translate([0, 0, 56]) rotate(45) { + leg(0, -10, -10, 0); +}
