Re: [Emc-users] Touchy -- changing the nc_files suffic from .ngc to .tap?
You are correct, however when I installed 2.4~pre the touchy python scripts all had a .pyc extension which as I understand it means they have been compiled. I am new to python and have not learned as much of it as I would like to. John Guenther 'Ye Olde Pen Maker' Sterling, Virginia On Mon, 2010-03-29 at 11:32 -0500, Dave wrote: > Why are you trying to compile it? Python will run the file in > interpreter mode just fine usually. > > Dave > > On 3/28/2010 6:14 PM, John Guenther wrote: > > Sebastian, > > > > I found where to change the .ngc suffix to .tap in the filechooser.py > > file however I am not familiar enough with python to be able to > > recompile it into filechooser.pyc. How do I do that? > > > > Thanks for all of your help. > > > > John Guenther > > 'Ye Olde Pen Maker' > > Sterling, Virginia > > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Emc-users Digest, Vol 48, Issue 45
> Date: Fri, 16 Apr 2010 11:29:54 -0700 (PDT) > From: Chris Reynolds > Subject: [Emc-users] learning gcode > To: emc-users@lists.sourceforge.net > Message-ID: <379167.84159...@web30202.mail.mud.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > Is there a good online reference or set of instructional materials for > learning about gcode and programming that I could check out in addition to > the gcode info on the emc page? I'm really wanting to learn how to get the > most from my machine and my programs and my knowledge is limited. > > Chris > > Chris: In addition to the other suggestions, "CNC Programming Handbook" by Peter Smid seems consistently to get high marks. I've only glanced at earlier, expensive editions in book stores, but amazon.com says you can get the 3rd edition for about $50US. I couldn't find any less expensive used-copies at powells.com or abebooks.com. My library doesn't carry it. The online instructional material I've seen is either trivial or an enticement for fee-based training coursework. I did notice that Tormach has some useful material online. See http://www.tormach.com/machine_codes.html for nicely illustrated examples of many g-codes and the movements they command. (Caveat: I haven't checked to see what g-code dialect Tormach uses.) You can even download the complete operator's manuals for their CNC machines as well as parts breakdowns, etc. It's nice to see that when I entered "g-code programming" into Google, linuxcnc.org was the first site on the list of hits. Regards, Kent -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touchy -- changing the nc_files suffic from .ngc to .tap?
Hi John, >>the touchy python scripts all had a .pyc extension Are you sure about that?? I have 2.5_pre loaded and I searched and all that is on this version is touchy.py, no touchy.pyc file. If you have .pyc files only in 2.4_pre, you could do another git clone to a different directory. The git clone will default to the master "checkout", which I believe is still the 2.5_pre version.Just search through the newly created directory for touchy.py and it should pop right up. I've been learning Python, and so far I really like it... consistent, powerful, and compact."Neat freaks" must love this language with the required indentation etc.. There is a lot of Python info on the web, but I checked a book out of the local library that is really good."Learning Python", written by Mark Lutz. It is a well organized book. Sometimes books just work better for me when looking for some small detail that I am missing Dave On 4/17/2010 7:01 AM, John Guenther wrote: > You are correct, however when I installed 2.4~pre the touchy python > scripts all had a .pyc extension which as I understand it means they > have been compiled. I am new to python and have not learned as much of > it as I would like to. > > John Guenther > 'Ye Olde Pen Maker' > Sterling, Virginia > > > On Mon, 2010-03-29 at 11:32 -0500, Dave wrote: > >> Why are you trying to compile it? Python will run the file in >> interpreter mode just fine usually. >> >> Dave >> >> On 3/28/2010 6:14 PM, John Guenther wrote: >> >>> Sebastian, >>> >>> I found where to change the .ngc suffix to .tap in the filechooser.py >>> file however I am not familiar enough with python to be able to >>> recompile it into filechooser.pyc. How do I do that? >>> >>> Thanks for all of your help. >>> >>> John Guenther >>> 'Ye Olde Pen Maker' >>> Sterling, Virginia >>> >>> >>> -- >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> ___ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >>> >>> >> >> -- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touchy -- changing the nc_files suffic from .ngc to .tap?
Dave, Thanks, I will recheck it, I have not touched that machine for two weeks, been out of town. I will try to look at it tonight. John On Sat, 2010-04-17 at 13:59 -0400, Dave wrote: > Hi John, > > >>the touchy python scripts all had a .pyc extension > > Are you sure about that?? > > I have 2.5_pre loaded and I searched and all that is on this version is > touchy.py, no touchy.pyc file. > > If you have .pyc files only in 2.4_pre, you could do another git clone > to a different directory. The git clone will default to the master > "checkout", which I believe is still the 2.5_pre version.Just search > through the newly created directory for touchy.py and it should pop > right up. > > I've been learning Python, and so far I really like it... consistent, > powerful, and compact."Neat freaks" must love this language with the > required indentation etc.. > > There is a lot of Python info on the web, but I checked a book out of > the local library that is really good."Learning Python", written by > Mark Lutz. It is a well organized book. Sometimes books just work > better for me when looking for some small detail that I am missing > > Dave > > > > On 4/17/2010 7:01 AM, John Guenther wrote: > > You are correct, however when I installed 2.4~pre the touchy python > > scripts all had a .pyc extension which as I understand it means they > > have been compiled. I am new to python and have not learned as much of > > it as I would like to. > > > > John Guenther > > 'Ye Olde Pen Maker' > > Sterling, Virginia > > > > > > On Mon, 2010-03-29 at 11:32 -0500, Dave wrote: > > > >> Why are you trying to compile it? Python will run the file in > >> interpreter mode just fine usually. > >> > >> Dave > >> > >> On 3/28/2010 6:14 PM, John Guenther wrote: > >> > >>> Sebastian, > >>> > >>> I found where to change the .ngc suffix to .tap in the filechooser.py > >>> file however I am not familiar enough with python to be able to > >>> recompile it into filechooser.pyc. How do I do that? > >>> > >>> Thanks for all of your help. > >>> > >>> John Guenther > >>> 'Ye Olde Pen Maker' > >>> Sterling, Virginia > >>> > >>> > >>> -- > >>> Download Intel® Parallel Studio Eval > >>> Try the new software tools for yourself. Speed compiling, find bugs > >>> proactively, and fine-tune applications for parallel performance. > >>> See why Intel Parallel Studio got high marks during beta. > >>> http://p.sf.net/sfu/intel-sw-dev > >>> ___ > >>> Emc-users mailing list > >>> Emc-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/emc-users > >>> > >>> > >>> > >> > >> -- > >> Download Intel® Parallel Studio Eval > >> Try the new software tools for yourself. Speed compiling, find bugs > >> proactively, and fine-tune applications for parallel performance. > >> See why Intel Parallel Studio got high marks during beta. > >> http://p.sf.net/sfu/intel-sw-dev > >> ___ > >> Emc-users mailing list > >> Emc-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/emc-users > >> > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Emc-users Digest, Vol 48, Issue 45
On Sat, 17 Apr 2010 11:15:21 -0400, you wrote: >"CNC Programming Handbook" by Peter Smid seems consistently to get high >marks. I've only glanced at earlier, expensive editions in book stores, >but amazon.com says you can get the 3rd edition for about $50US. I >couldn't find any less expensive used-copies at powells.com or >abebooks.com. My library doesn't carry it. That is the definitive CNC book, very informative and easy to understand. It should be considered as a standard as to how Gcode should be interpreted, unfortunately EMC doesn't adhere to some of the detail in there and has it's own interpretation on some things. G33 and taper threads spring to mind, Industry Standard taper threads are not measured along the hypotenuse! Steve Blackmore -- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] touchy question
Gentlemen, Where would I change the spindle increment amount of the increase/decrease buttons? The G&L has 4 speeds with max speeds of 60, 150, 375, 970. The 100 rpm change per button push would be nicer if it was 10 rpm. I have looked for 100 in all the files in the touchy directory. I found none that looked related. thanks Stuart -- dos centavos -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Touchy -- changing the nc_files suffic from .ngc to .tap?
I just checked and I was correct for the 2.4.0~pre version all of the touchy files located in /usr/lib/python2.5/site-packages/touchy are .pyc files. Where do I find 2.5_pre to load it on my emc2 computer? Thanks John Guenther On Sat, 2010-04-17 at 16:27 -0400, John Guenther wrote: > Dave, > > Thanks, I will recheck it, I have not touched that machine for two > weeks, been out of town. I will try to look at it tonight. > > John > > > On Sat, 2010-04-17 at 13:59 -0400, Dave wrote: > > Hi John, > > > > >>the touchy python scripts all had a .pyc extension > > > > Are you sure about that?? > > > > I have 2.5_pre loaded and I searched and all that is on this version is > > touchy.py, no touchy.pyc file. > > > > If you have .pyc files only in 2.4_pre, you could do another git clone > > to a different directory. The git clone will default to the master > > "checkout", which I believe is still the 2.5_pre version.Just search > > through the newly created directory for touchy.py and it should pop > > right up. > > > > I've been learning Python, and so far I really like it... consistent, > > powerful, and compact."Neat freaks" must love this language with the > > required indentation etc.. > > > > There is a lot of Python info on the web, but I checked a book out of > > the local library that is really good."Learning Python", written by > > Mark Lutz. It is a well organized book. Sometimes books just work > > better for me when looking for some small detail that I am missing > > > > Dave > > > > > > > > On 4/17/2010 7:01 AM, John Guenther wrote: > > > You are correct, however when I installed 2.4~pre the touchy python > > > scripts all had a .pyc extension which as I understand it means they > > > have been compiled. I am new to python and have not learned as much of > > > it as I would like to. > > > > > > John Guenther > > > 'Ye Olde Pen Maker' > > > Sterling, Virginia > > > > > > > > > On Mon, 2010-03-29 at 11:32 -0500, Dave wrote: > > > > > >> Why are you trying to compile it? Python will run the file in > > >> interpreter mode just fine usually. > > >> > > >> Dave > > >> > > >> On 3/28/2010 6:14 PM, John Guenther wrote: > > >> > > >>> Sebastian, > > >>> > > >>> I found where to change the .ngc suffix to .tap in the filechooser.py > > >>> file however I am not familiar enough with python to be able to > > >>> recompile it into filechooser.pyc. How do I do that? > > >>> > > >>> Thanks for all of your help. > > >>> > > >>> John Guenther > > >>> 'Ye Olde Pen Maker' > > >>> Sterling, Virginia > > >>> > > >>> > > >>> -- > > >>> Download Intel® Parallel Studio Eval > > >>> Try the new software tools for yourself. Speed compiling, find bugs > > >>> proactively, and fine-tune applications for parallel performance. > > >>> See why Intel Parallel Studio got high marks during beta. > > >>> http://p.sf.net/sfu/intel-sw-dev > > >>> ___ > > >>> Emc-users mailing list > > >>> Emc-users@lists.sourceforge.net > > >>> https://lists.sourceforge.net/lists/listinfo/emc-users > > >>> > > >>> > > >>> > > >> > > >> -- > > >> Download Intel® Parallel Studio Eval > > >> Try the new software tools for yourself. Speed compiling, find bugs > > >> proactively, and fine-tune applications for parallel performance. > > >> See why Intel Parallel Studio got high marks during beta. > > >> http://p.sf.net/sfu/intel-sw-dev > > >> ___ > > >> Emc-users mailing list > > >> Emc-users@lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > >> > > > > > > -- > > > Download Intel® Parallel Studio Eval > > > Try the new software tools for yourself. Speed compiling, find bugs > > > proactively, and fine-tune applications for parallel performance. > > > See why Intel Parallel Studio got high marks during beta. > > > http://p.sf.net/sfu/intel-sw-dev > > > ___ > > > Emc-users mailing list > > > Emc-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > > > > > > > > -- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > ___ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > --
Re: [Emc-users] Touchy -- changing the nc_files suffic from .ngc to .tap?
John, That doesn't sound like the correct location of touchy files for an EMC2 installation. There are at least two different ways to "install EMC2". You can install it as a regularly installed program similar to how other programs are installed, or you can install them as a run-in-place application which means that they run within a specified directory. (Someone jump in here if I am wrong about something.. ) In order to get the development "master" version of EMC2 which is the 2.5_pre version ( as of a couple of days ago at least ... ), you need to use Git to download the EMC2 source code and install the software, preferably as a run in place installation which will keep everything in one specified directory. http://wiki.linuxcnc.org/emcinfo.pl?Installing_EMC2#Getting_the_source_with_git Line 2.2 The Wiki has good instructions on how to do this. After you install Git, you run the Git Clone command to pull the Git repository off the EMC2 server and put an cloned copy of it on your hard drive in the specified user directory.. emc2-dev per the instructions.. Note that after you do the Git Clone, the master version 2.5_pre is already exposed in your emc2-dev directory.No need to change branches etc.Compile it according to the instructions. Make sure to set the environment also..Note that this is the current development master and it can have bugs in it.. more so typically than the released versions like 2.3.5.But 2.3.5 does not have Touchy in it. Dave On 4/17/2010 9:11 PM, John Guenther wrote: > I just checked and I was correct for the 2.4.0~pre version all of the > touchy files located in /usr/lib/python2.5/site-packages/touchy are .pyc > files. > > Where do I find 2.5_pre to load it on my emc2 computer? > > Thanks > > John Guenther > > > On Sat, 2010-04-17 at 16:27 -0400, John Guenther wrote: > >> Dave, >> >> Thanks, I will recheck it, I have not touched that machine for two >> weeks, been out of town. I will try to look at it tonight. >> >> John >> >> >> On Sat, 2010-04-17 at 13:59 -0400, Dave wrote: >> >>> Hi John, >>> >>> >>the touchy python scripts all had a .pyc extension >>> >>> Are you sure about that?? >>> >>> I have 2.5_pre loaded and I searched and all that is on this version is >>> touchy.py, no touchy.pyc file. >>> >>> If you have .pyc files only in 2.4_pre, you could do another git clone >>> to a different directory. The git clone will default to the master >>> "checkout", which I believe is still the 2.5_pre version.Just search >>> through the newly created directory for touchy.py and it should pop >>> right up. >>> >>> I've been learning Python, and so far I really like it... consistent, >>> powerful, and compact."Neat freaks" must love this language with the >>> required indentation etc.. >>> >>> There is a lot of Python info on the web, but I checked a book out of >>> the local library that is really good."Learning Python", written by >>> Mark Lutz. It is a well organized book. Sometimes books just work >>> better for me when looking for some small detail that I am missing >>> >>> Dave >>> >>> >>> >>> On 4/17/2010 7:01 AM, John Guenther wrote: >>> You are correct, however when I installed 2.4~pre the touchy python scripts all had a .pyc extension which as I understand it means they have been compiled. I am new to python and have not learned as much of it as I would like to. John Guenther 'Ye Olde Pen Maker' Sterling, Virginia On Mon, 2010-03-29 at 11:32 -0500, Dave wrote: > Why are you trying to compile it? Python will run the file in > interpreter mode just fine usually. > > Dave > > On 3/28/2010 6:14 PM, John Guenther wrote: > > >> Sebastian, >> >> I found where to change the .ngc suffix to .tap in the filechooser.py >> file however I am not familiar enough with python to be able to >> recompile it into filechooser.pyc. How do I do that? >> >> Thanks for all of your help. >> >> John Guenther >> 'Ye Olde Pen Maker' >> Sterling, Virginia >> >> >> -- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> >> > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling
Re: [Emc-users] touchy question
The "100" value is hardcoded in emc/motion/command.c. FWIW I disagree with the comments and think that the value should probably come all the way from NML, not from HAL. But either way, you can get what you want by changing the hard-coded 100 to a different value. 1500 case EMCMOT_SPINDLE_INCREASE: 1501 rtapi_print_msg(RTAPI_MSG_DBG, "SPINDLE_INCREASE"); 1502 if (emcmotStatus->spindle.speed > 0) { 1503 emcmotStatus->spindle.speed += 100; //FIXME - make the step a HAL parameter 1504 } else if (emcmotStatus->spindle.speed < 0) { 1505 emcmotStatus->spindle.speed -= 100; 1506 } 1507 break; 1508 1509 case EMCMOT_SPINDLE_DECREASE: 1510 rtapi_print_msg(RTAPI_MSG_DBG, "SPINDLE_DECREASE"); 1511 if (emcmotStatus->spindle.speed > 100) { 1512 emcmotStatus->spindle.speed -= 100; //FIXME - make the step a HAL parameter 1513 } else if (emcmotStatus->spindle.speed < -100) { 1514 emcmotStatus->spindle.speed += 100; 1515 } 1516 break; Jeff -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users