openscad/openscad — pull request #1116 by TDeagan (2014-12-27 05:05:00+00:00)
Title: Add optional scale markers to large axes

While add-on rulers can be extremely useful, there are many times that a quick scaling marker would be handy. This feature generates tics every 10 units, driven off the log10 of the l variable defining axes length. As you zoom in or out, the tics automatically re-scale themselves. Every tenth tic is slightly larger. A menu item is added to the view menu to enable or disable the feature.

I experimented with menu driven scaling (.01, .1, 1, 10, etc.), but using small increments when zoomed out brought the app to it's knees. Adding a visual indicator of the current scaling might be nice, but I'm not sure where to put it (possibly below the small axes,) since it changes while zooming and would clutter the console.

Additionally, a toolbar icon could be added.

![image](https://cloud.githubusercontent.com/assets/5005448/5560489/ffb97722-8d52-11e4-97c0-b4cfd2d44b38.png)

Zoom sequence:
![image](https://cloud.githubusercontent.com/assets/5005448/5560493/59f9a0ae-8d53-11e4-8351-53de6a131020.png)
![image](https://cloud.githubusercontent.com/assets/5005448/5560494/6a20543c-8d53-11e4-9b54-b641bf0575b1.png)
![image](https://cloud.githubusercontent.com/assets/5005448/5560495/74eb3ae4-8d53-11e4-8194-0f4633e0a632.png)
![image](https://cloud.githubusercontent.com/assets/5005448/5560496/7e382846-8d53-11e4-86c3-225a9a5d5252.png)