Gscreen - a GTK / Glade / Python based screen

More
13 years 7 months ago #32116 by cmorley
I added a tool touchoff button to the default Gscreen.

it issues a G10 L10 on the current tool by popping a dialog asking for the reference value.
I also issues a G43 after.

This should be just like AXIS.

Please test carefully and let me know if it works as expected.

Chris M

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

More
13 years 7 months ago #32125 by LAIR82
Thanks You Chris,

I will give it a try tomorrow,

I need to do "git pull" from the terminal and re-compile right?

Thanks

Rick

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

More
13 years 7 months ago #32127 by SRT
Thank you for adding the tool touchoff button and Happy Easter.
We do like the Gscreen for sure and after going back and reading my earlier posts I think i am campaining for the Fanuc style offsets more than anything the patch takes care of that we just got off track because the Fanuc patch language and the latest version of master did not match up and we are making a new build with GScreen for the firts time so not knowing how to touch off tools without entering the values directly into the tool table manually we were thrown for a curve for a day or so. I may have been confused on your Change Origin button thinking it automatically entered values into the G54 offset and forcing us to call a G54 in our programs the same as we would have to call the G43 if we did not use the patch. I will get more hands on Monday. I think I will start a new thread in the GCode section on the patch.

Again thank you for your efforts and listening no matter how self serving I may have come off.

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

More
13 years 7 months ago #32133 by cmorley
Your welcome.
LAIr82 yes git pull and then make.

I would like to see the patch added too - I have an Okuma lathe that is in the middle of a very slow upgrade -I will want the patch for it.
If the patch gets in then I will change the offset widget to show wear offsets too, I'm not sure how you are using it now.

One of the nice things about Gscreen and it's variations is it is fairly easy to make small changes. For instance if you don't want the 'change origin' button because your using a lathe, you can hide it and replace it with a blanc button. Once you have all your machines running and get some time it might be something you would like to do - fine tune the display, if you will.

The development of Gscreen, particularly the 'industrial' skin as been an open process and I think that has been good to push the design to a more natural to machinist layout. AXIS is a very smart design but it is not so good for touch screens (it wasn't built with them in mind) and is a little unintuitive compared to the way industrial machinists are used to.

Luckily in linuxcnc we have many choices - Gscreen is just another. I am interested what others will build with Gscreens infrastructure. I'm very impressed with Gmoccapy.

If you like the industrial style screen I could add a lathe sample to the sim,

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

More
13 years 7 months ago #32135 by newbynobi

I am interested what others will build with Gscreens infrastructure. I'm very impressed with Gmoccapy.


Thanks Chris,

and gmoccapy is still under development, there are still a lot of thinks to do, like HAL Pins for hardware connections to most functions, like they are included in nearly every industrial control. And also some special settings for the GUI.

May be somebody can help about the idea "Reload Tool on start up"
How to set the tool in spindle without having the machine homed or switched on.

Norbert

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

More
13 years 7 months ago - 13 years 7 months ago #32145 by cmorley
tried again today to embed Onboard keyboard into Gscreen.
I have to do it by launching Onboard from within Gscreen and then reading the window id from stdin.

But when I do it blocks Gscreen permanently and never returns the id number.
I've been using variations of this:
Code:
def launch_keyboard(self,args="--xid",x="",y=""): print args,x,y try: self.data.ob = subprocess.Popen(["onboard",args,x,y]) id = self.data.ob.comunicate[0] except: print _("error with 'onboard' on screen keyboard program")

If i comment out the id line then it launches fine and prints the id number to the screen.
I can use that number inn a socket program to embed to another window.
I just need another way to read the standard in....

post to Onboard project:
answers.launchpad.net/onboard/+question/216006

Chris M
Last edit: 13 years 7 months ago by cmorley.

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

Time to create page: 0.285 seconds
Powered by Kunena Forum