This script is based on the question in this thread, it may not be as useful as my other posts but...it was fun to write and very very educational...hope someone finds a good use for it.
select a circle and a single corner point on a polygon before running