Hi JT,

I thought I used the preferences tab. Anyway, it helped to find 
something else ;-)

Splitting up code into smaller files is typically the right way to go. I 
do it for every module/class when I code in c/c++.

Concerning the direct write to AXIS:
I personally do not use it too, but should it not be possible to write 
the g-code to stdout when you exit your application?

Erik

Am 02.01.2014 18:59, schrieb John Thornton:
> Hi Erik,
>
> On the Preferences tab you need to change the preamble to G21 for
> metric. The rest of the facing page will not make any difference if you
> use metric or inch. The tapping hole making is in inch only at this
> point and I just discovered it doesn't add the preamble to the top of
> the G code.
>
> I have a series of tutorials on Python Gtk and Glade that should get you
> up to speed fast.
>
> http://gnipsel.com/glade/index.html
>
> I prefer to break my code up as much as possible to making maintaining
> easier with smaller files.
>
> JT
>
> On 1/2/2014 10:13 AM, erik wrote:
>> Hello JT,
>>
>> Thanks for you feedback and the link to your page.
>>
>> I had a quick look on your program and I can understand why you switched
>> over to GTK. It is definitely the more modern tool-kit for user interfaces.
>> Unfortunately, I do not have enough experience with GTK and Glade3 to
>> write applications for it (yet).
>> Your program also showed me some options, I did not even had in mind.
>> Btw: The metric option did seem not to work (tested with Facing).
>>
>> For my project, I had the following main constraints:
>> 1. No installation needed
>> 2. Run on Lucid + Precise
>> 3. One file
>> 4. Easily extendible for everyone.
>> 4. Get it done within my Christmas holidays (the main reason for tk).
>> But I will rethink these constraints.
>>
>> Definitely I will have closer look on GTK and Glade again since I still
>> have to add a <Manual tool change and length probe> panel to AXIS
>> anyway. But this will take some time...
>>
>> Just recognised that I wrote "hello together"...how embarrassing.
>>
>> Regards
>> Erik
>>
>> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>>
>>>
>>> -- 
>>> mailto:[email protected]
>>> http://home.mnet-online.de/erikschuster
>> ------------------------------------------------------------------------------
>> 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
>> [email protected]
>> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> -- 
> mailto:[email protected]
> http://home.mnet-online.de/erikschuster

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to