Hi Norbert, A comma is not accepted by LinuxCNC as a decimal separator. You would need to modify the is_number function to accept a comma then change it to a dot in the G code.
JT On 1/2/2014 9:40 AM, Niemand Sonst wrote: > Am 02.01.2014 14:13, schrieb John Thornton: >> Hi Erik, >> >> I wrote some of the simple G code generators on the wiki and have a 3rd >> generation of my learning curve in Python, Gtk, Glade3 G code generator >> on my web site. I quit using Tk a while back and prefer to use Gtk now. >> >> http://gnipsel.com/files/g-code-generator/ >> >> If you get a chance to take a look at it let me know what you think. >> >> I like the look and feel of your G code generator and it is intuitive as >> I had some G code in less than a minute. >> >> The one thing that I lost when leaving Tk behind is a way to have Write >> to Axis. I seldom would need that but it would be nice to have. >> >> Very nice work! >> >> JT >> >> On 1/2/2014 6:31 AM, erik wrote: >>> Hello together, >>> >>> After fiddeling around with ngc subroutines for a while, I decided to >>> give Python a chance and write g-code generators as a substitute. >>> >>> There are already serveral simple and useful g-code generators available >>> from the LinuxCNCKnowledgeBase >>> <http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_LinuxCNC_G-Code_Generators>. >>> >>> To cut a long story short: >>> In the end my Python program became a framework, which can be "more or >>> less easily" extended with additional generators (within certain limits). >>> I already integrated the bezel and grill generators from the wiki and >>> slightly pimped the code. >>> Now I like to share the result. >>> >>> Description, screenshots and sourcecode can be found here >>> <http://home.mnet-online.de/erikschuster/misc.htm#simplegcodegenerator>. >>> >>> A Happy and Healthy New Year to all of you >>> Erik >>> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > Hallo John, > > I took a look and I like it, but... > > Will you localize it? Here in Germany we are used to give a "," as > decimal separator, your GUI says 0,12 is not a number. > > Norbert > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users