I need a MAXScript program where:
The user selects an editable mesh or poly (or portion of an editable mesh or poly), and the object is retopologized into as close as evenly sized polygons as possible (quads preferred, with tri-polys where necessary).
I would also like the following features: 1) Control over what size edges the polygons should use. 2) A sliding scale determing which of the following takes precedence: evenly sized polygons, or accuracy to the original mesh.
## Deliverables
I request that the code be as clean and clearly documented as possible, so that it can be easily understood and modified by future coders.