Is there a flatten script?

 From:  bemfarmer
10971.2 In reply to 10971.1 
Make2d command?