Custom M-Code (Python)

More
23 Mar 2022 01:20 #238066 by andypugh
Replied by andypugh on topic Custom M-Code (Python)
At the moment, for reasons I don't fully understand, emcanon is only available in remaps.

Please Log in or Create an account to join the conversation.

More
23 Mar 2022 01:35 #238068 by cmorley
Replied by cmorley on topic Custom M-Code (Python)
emccanon is called from the internal python instance in remaps.
The internal instance is invoked from linuxcnc's c++ code, so has linuxcnc's internals in it's context.

Any other instance of python will be in a different context.

That's the high level explanation.
The following user(s) said Thank You: Thom

Please Log in or Create an account to join the conversation.

More
04 Aug 2022 17:54 #249052 by cncbeagle
Replied by cncbeagle on topic Custom M-Code (Python)
Andy, Todd,

Thank You!
Prompting for a parameter entry seemed like such a simple thing but that was not the case. I would never have figured out how to do this myself. You're solution was relatively easy to implement and works great.

Thanks again.

John
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.301 seconds
Powered by Kunena Forum