openscad/images
Tim Deagan 1068f61dc6 Add optional menu driven scaling tics to the large axes
Tim Deagan 12/26/2014

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 nto sure where to put it (possibly below the small axes,) since it changes as zooming and would clutter the console.

 Changes to be committed:
	new file:   images/scalemarkers.png
	modified:   openscad.qrc
	modified:   src/GLView.cc
	modified:   src/GLView.h
	modified:   src/MainWindow.h
	modified:   src/MainWindow.ui
	modified:   src/QGLView.h
	modified:   src/mainwin.cc
2014-12-26 21:44:31 -06:00
..
Arrowhead-Right-32.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
Document-New-128.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
Open-32.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
Open-128.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
Preview-32 (1).png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
Preview-32.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
Rotation-32.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
Save-32.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
Save-128.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
Shape-Cube-32.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
Zoom-In-32.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
Zoom-Out-32.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
animate.jpg improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
animate.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
axes.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
back.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
blackNew.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackRender.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackUp.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackUp1.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackUp2.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackUp4.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackUp5.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackaxes.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackback.png added few more icons with tool tips 2014-09-14 20:39:17 +02:00
blackbottom (copy).png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackbottom.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackbottom1.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackfront.png added few more icons with tool tips 2014-09-14 20:39:17 +02:00
blackleft (copy).png toolbar splitted into two 2014-09-14 20:39:12 +02:00
blackleft.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
bottom.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
cross.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
crosswhite.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
export-white.png Add more icons. 2014-09-14 21:39:15 +02:00
export.png Add more icons. 2014-09-14 21:39:15 +02:00
front.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
grid.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
left.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
openscad.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
orthogonal.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
orthogonalwhite.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
perspective1.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
perspective1white.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
right.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
rightright.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
scalemarkers.png Add optional menu driven scaling tics to the large axes 2014-12-26 21:44:31 -06:00
surface.png added few more icons with tool tips 2014-09-14 20:39:17 +02:00
surfaceWhite.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
up.png toolBar-subclass of QToolBar added 2014-09-14 20:39:05 +02:00
wireframe1.png added few more icons with tool tips 2014-09-14 20:39:17 +02:00
wireframeWhite.png improved syntax color scheme and added more icons 2014-09-14 20:39:33 +02:00
zoom-all-white.png Add "ViewAll" and remove "Crosshair" icon from toolbar. 2014-09-18 23:14:12 +02:00
zoom-all.png Add "ViewAll" and remove "Crosshair" icon from toolbar. 2014-09-18 23:14:12 +02:00
zoomin.png toolbar splitted into two 2014-09-14 20:39:12 +02:00
zoomout.png toolbar splitted into two 2014-09-14 20:39:12 +02:00