I realized that I gave a horrible example of how to clean up the top portion of the model in my original post. Here is a better way to take care of it with my script. Its not much more work... just inset to get the extra edge needed.
My script doesn't work on the top because it requires you to have edges on the outside of the bevel'd edges. Since the top is capped and does not have edges my script does not know how to get the original position of the corner vert. It doesn't have the second edge(vector) to use to the get the intersection point. You…