Rotate Shape so that edges coincide

This plugin is great.
Danny