// LEGS
#macro BodyCapsule (r, g, b, Radius, length2, rot0, rot3, rot6, rot1, rot4, rot7, rot2, rot5, rot8, rot9, rot10, rot11)
union {
cylinder {
<0,0,-length2*0.5>,
<0, 0, length2 - length2*0.5>,
Radius
}
sphere { <0, 0, -length2*0.5>, Radius }
sphere { <0, 0, length2 - length2 *0.5>, Radius }
...........