how use the "EMC SourceView" of Glade

More
13 Sep 2012 22:56 #24250 by meduag
Hi, I want know how use the EMC SourceView in gladevcp, and how I can import a text for display in the EMC SourceView

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

More
14 Sep 2012 00:06 #24255 by BigJohnT
Well you just place it in a cell and it will display the currently loaded G code file. Have you seen my GladeVCP tutorial ?

John

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

More
14 Sep 2012 04:38 #24261 by cmorley
Replied by cmorley on topic Re:how use the
you use 'emc action open' to load gcode into linuxcnc/sourceview

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

More
23 Sep 2012 18:47 #24566 by meduag
Replied by meduag on topic Re:how use the
you can give me an example using python and glade?

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

More
26 Sep 2012 11:48 #24641 by meduag
Replied by meduag on topic Re:how use the
Hi everyone,

I try to use the EMC_SourceView, but after several attempts yet did not know how to use it.

I want to say best my idea to know if possible:

I have a format code "XXXX", I create a filter that passes for "XXXX" to code G / M, So far so good,

Then I want to put a window where you see the code "XXXX", after it is opened.

I made a glade with python program that opens the file, and I want to add it to the Axis GUI, but I need to run the archiyo. py of my program and do not know how?

annex a picture 1 to better understand
Attachments:

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

More
26 Sep 2012 11:49 #24642 by meduag
Replied by meduag on topic Re:how use the
continuing, but what I want is this, annex picture 2 :blink: :blink: :blink:
Attachments:

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

More
26 Sep 2012 13:17 - 26 Sep 2012 13:18 #24645 by BigJohnT
Replied by BigJohnT on topic Re:how use the
I "think" I know what you want to do. You want to pass your p21 file through your python filter then on to Axis.

Look at the Filter section of the INI chapter in the Integrators manual.

When you "open" your p21 file in Axis it will be run through your filter program which needs to output G code to standard out and that will be loaded into Axis.

John
Last edit: 26 Sep 2012 13:18 by BigJohnT.

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

More
26 Sep 2012 16:50 #24648 by meduag
Replied by meduag on topic Re:how use the
hI John,

I already did that B) , now I want to add a window to view the code P21 that was converted :blink: , besides seeing the window with the code g

annex picture 3 :huh:
Attachments:

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

More
26 Sep 2012 17:44 #24650 by BigJohnT
Replied by BigJohnT on topic Re:how use the
I don't know how to do that other than opening it up with your filter program perhaps in gedit.

John

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

More
27 Sep 2012 15:41 #24666 by andypugh
Replied by andypugh on topic Re:how use the
meduag wrote:

I already did that B) , now I want to add a window to view the code P21 that was converted


I know this isn't what you are asking for, but I guess that the filter programme could include the original code after a comment character, in the G-code programme.

Otherwise you need to edit the Axis GUI, and nobody understands that except the author.

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

Moderators: mhaberlerHansU
Time to create page: 0.079 seconds
Powered by Kunena Forum