On Thu, Feb 01, 2007 at 01:12:02PM +0100, Michał Geszkiewicz wrote: > Hello, > > I have question about python interface to emc2: > Is there any way to change data inserted by command "gcode.parse()" ? > or is a way to parse only a piece of lines without modifing others ? > > thanks for any answers > > Michal
In general, it doesn't make sense to parse just a part of an entire g-code file. Imagine that on line 100 I insert "G91". All the moves below that will now be interpreted in 'incremental distance mode', and their meaning will be wildly different than if they were in 'absolute distance mode' before the change. The assumption that only a whole file will be interpreted is probably present at many levels in the AXIS preview generator, in addition to the one place you've identified. Jeff ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
