How hard would it be to get a number for how many lines are in the g-code? I saw the HAL has a "current line number". I need the total, presumably determined when it loaded.
Reason being, my prior post- can give an ETA for 3D carving by (time/current line number)*(total lines in G-code - current line number) e.g. 10 min in, current count is 50k lines, total file is 200k lines, ETA is 30 min. Danny ---- John Thornton <j...@gnipsel.com> wrote: > I see where it is wonky... let me see if I can finger out what caused > that... > > JT > > On 10/5/2016 9:33 AM, andy pugh wrote: > > On 5 October 2016 at 15:17, Sebastian Kuzminsky <s...@highlab.com> wrote: > >> But the information *is* available in the Interpreter (in Task), and > >> shared from there to all other components that want it, via the Status > >> structure. The bests place to export it from is probably halui. So I > >> change my suggestion from "add a pin to Motion", to "add a pin to halui" > > Would it be available to a userspace Python component via the > > linuxcnc.stat structure? > > http://linuxcnc.org/docs/2.7/html/config/python-interface.html > > What does that version of spindle_speed show? > > > > (I also note that the formatting of that page has gone funny) > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users