Re: [Emc-users] Python code to read gcode?

2011-06-09 Thread Mike Payson
Just FYI, unless I am mistaken, you are not really wanting to parse gcode. You really just want to process a text file and do a smart search and replace, replacing (for example) "M03 S1000" with a looked up value based on that speed, hypothetically "M100 P2 S125". Python is excellent for that, but

Re: [Emc-users] Python code to read gcode?

2011-06-09 Thread Karl Cunningham
On 06/09/2011 08:59 AM, Andy Howell wrote: > On 06/09/2011 10:21 AM, Karl Cunningham wrote: >> I have need to parse a gcode file and I'd like to do it in Python. It >> seems that wheel must have already been invented and I'd rather not >> reinvent it. I got the source for grecode, written in c++. I

Re: [Emc-users] Python code to read gcode?

2011-06-09 Thread Andy Howell
On 06/09/2011 10:21 AM, Karl Cunningham wrote: > I have need to parse a gcode file and I'd like to do it in Python. It > seems that wheel must have already been invented and I'd rather not > reinvent it. I got the source for grecode, written in c++. I could adapt > from that but I think it would

Re: [Emc-users] Python code to read gcode?

2011-06-09 Thread Dave Caroline
Probably simpler to make an awk script, or even fix the source of the error, ie fix the cam post processor to do emc2 Dave Caroline On Thu, Jun 9, 2011 at 4:21 PM, Karl Cunningham wrote: > I have need to parse a gcode file and I'd like to do it in Python. It > seems that wheel must have already

[Emc-users] Python code to read gcode?

2011-06-09 Thread Karl Cunningham
I have need to parse a gcode file and I'd like to do it in Python. It seems that wheel must have already been invented and I'd rather not reinvent it. I got the source for grecode, written in c++. I could adapt from that but I think it would be overkill for the simple task I'm trying to do. I'

Re: [Emc-users] EMCO PC MILL 50

2011-06-09 Thread Kent A. Reed
On 6/7/2011 1:33 PM, Randy Petersen wrote: > I found this message: > http://www.mail-archive.com/emc-users@lists.sourceforge.net/msg19677.html > and am very interested on what happened. > > I am in a similar predicament, I purchased a EMCO PC MILL 50 without the > EMCO proprietary RS485 board and w

[Emc-users] EMCO PC MILL 50

2011-06-09 Thread Roland Jollivet
Open the back and look at the servo drives. The one I saw in the past seemed to take step and Dir. It was all labelled. The cabinet was very well built and quite modular. We were cutting brass, tool steel and zinc, with the original machine. The only thing that I was concerned about was the spindle