Oh sorry again - I keep making assumptions that people can read my mind.

Here is a file to download and put in your Plugins folder; then restart SketchUp.

export_corners.rb