I've written a different version of this patch. Importantly, it handles g92 offset and g5x rotation. It shares the toggle-preference + magic comment approach, reusing your code.
On IRC, several people have expressed concern about the use of a magic comment for this purpose. I remain open to alternatives. If this issue can be resolved, then I'd be happy to see some version of the grid code go into master. Screenshot: http://oi48.tinypic.com/245forq.jpg The following changes since commit 074467ddda5d02e4321feca9df4ac23b4cb9ccf5: Jeff Epler (1): foam: use appropriate file in place of splash screen are available in the git repository at: git://git.unpythonic.net/emc2-jepler.git xygrid axis: Add XY grid lines to preview lib/python/rs274/glcanon.py | 113 +++++++++++++++++++++++++++++++++ share/axis/tcl/axis.tcl | 5 ++ src/emc/usr_intf/axis/scripts/axis.py | 7 ++ 3 files changed, 125 insertions(+), 0 deletions(-) Jeff ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers