Cone and Conical Frustum Unwrap

 From:  bemfarmer
6175.22 
Oops, Frustum is the correct spelling.
Michael, can you correct the spelling in the Subject?

A script for unwrapping a cone, or a conical frustum, with the top cut off parallel to the base, is attached.

Implementation of the checkbox for Frustum, versus Cone, is a bit Clunky.
Is there a better way to the checkbox, to change the selection from frustum top circle, to cone apex?
I tried hard with code from Flow, but did not succeed in making a better interface for the checkbox.

A test 3dm of a frustum and a cone is included.

- Brian

December 29, 2017: Updated ConeUnwrap script is here: http://moi3d.com/forum/index.php?webtag=MOI&msg=6175.33
(Post 33 below)

EDITED: 1 Jan 2018 by BEMFARMER