I modified the gear script to handle lower values for the radius, addendum, etc. since the first real gear I tried to model required values smaller than the defaults in the current script.
I also noticed that it does not handle units specification, i.e. 10mm. Just ignores the mm, or cm, or in for that matter.
Where is the parsing of the units handled?