On 06/25/2015 01:21 PM, Andy Pugh wrote: > >> On 25 Jun 2015, at 17:26, Sebastian Kuzminsky <[email protected]> wrote: >> >> G-code variables are not visible to PyVCP, because they are not exported >> to HAL. > > I believe that Python code embedded in GladeVCP handlers can access G-code > parameters. > Examples of the syntax can be seen in the stdglue routines for tool change > remap.
I think stdglue.py is used inside remapped g-codes, not inside gladevcp. Remapping code runs inside the g-code interpreter's python interpreter, and so can access the g-code interpreter's state more easily. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
