Here is a HMT link to a full explanation of how this works.
Turning pentagons on a lathe