http://i3.tinypic.com/6tzdekj.jpg

If the rear side have same shape as front side of leg you could do it like this.

Video preview:http://dhost.info/pagan/leg.avi

And here is a model:http://dhost.info/pagan/leg.skp