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
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
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
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
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'
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
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