Python Version On AXIS

More
23 Jan 2012 17:17 #17060 by BigJohnT
Replied by BigJohnT on topic Re:Python Version On AXIS
grokhehe wrote:

Yes, I've already followed the instructions but
tkapp.py (2.4 only) => Can't find this file on zipped file
ngcgui_app.tcl => Can't find this file on zipped file
ngcgui.tcl
ngcgui_ttt.tcl

I'm using EMC 2.4.3


What download link did you use?

John

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

More
23 Jan 2012 17:42 #17062 by ArcEye
Replied by ArcEye on topic Re:Python Version On AXIS

Could you please show me sample code to do that?

Has been covered before, see
www.linuxcnc.org/index.php/english/compo...imit=6&start=6#10576

And please provide me with simple G-Code like drawing line after clear the AXIS preview frame

Not sure what you mean by this
..
M123 (clear axis plot)
G00 X200
..
?

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

More
23 Jan 2012 18:19 #17064 by grokhehe
Replied by grokhehe on topic Re:Python Version On AXIS
I've already do on that link that you've gave me but it didn't work

I want to clear the text "EMC2.4 AXIS" on AXIS preview frame because it annoying..
Could you please help me?

Thanks

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

More
24 Jan 2012 00:29 #17072 by BigJohnT
Replied by BigJohnT on topic Re:Python Version On AXIS
That is easy, just don't load the file on startup the setting is in your [DISPLAY] section of the ini file.

John

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

More
24 Jan 2012 03:26 #17078 by grokhehe
Replied by grokhehe on topic Re:Python Version On AXIS
Thanks for help,

But what I mean is can I clear the AXIS preview frame every time I click the pyvcp button and run the G-Code file with M Command?
I already try on ArcEye's answer but it didn't work..

Thanks

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

More
24 Jan 2012 03:59 #17080 by grokhehe
Replied by grokhehe on topic Re:Python Version On AXIS
Example like when you open the file ngc from File -> Open File, AXIS will cleart the preview frame and then draw your ngc file
Can I do like that with pyvcp command M Command?

Thanks

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

More
24 Jan 2012 05:39 #17083 by grokhehe
Replied by grokhehe on topic Re:Python Version On AXIS
ArcEye, could you please send me a file that can do that?
With axis-remote -c/

Thanks

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

More
24 Jan 2012 06:09 #17084 by grokhehe
Replied by grokhehe on topic Re:Python Version On AXIS
ArcEye wrote:

Could you please show me sample code to do that?

Has been covered before, see
www.linuxcnc.org/index.php/english/compo...imit=6&start=6#10576

And please provide me with simple G-Code like drawing line after clear the AXIS preview frame

Not sure what you mean by this
..
M123 (clear axis plot)
G00 X200
..
?


Yes I want to do like that, after I clear axis plot then I want to run G-Code
Could you please send me a file?

Thanks

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

More
24 Jan 2012 09:07 #17086 by ArcEye
Replied by ArcEye on topic Re:Python Version On AXIS

I've already do on that link that you've gave me but it didn't work

It does work, I use dozens of similar files on my system.
You need to read the whole thread which contains all the things that have to be in place for user M codes to work.

If you say specifically what you have done and what the error message is you get, or what result, I could help, but just saying it does not work, gets nowhere.

could you please send me a file that can do that? With axis-remote -c

There is already a zip on that thread with a M code file in it. And code to clear the display is in the text of one of the posts.
How you use it in your g code is up to you.

regards

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

More
24 Jan 2012 09:12 #17087 by grokhehe
Replied by grokhehe on topic Re:Python Version On AXIS
So can I use like this :
file : O101.ngc

#!/bin/bash

axis-remote -c

G0 X0.0
G0 X100.0

can it work?

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

Time to create page: 0.090 seconds
Powered by Kunena Forum