Gmoccapy - A new screen for linuxcnc

More
9 years 7 months ago - 9 years 7 months ago #90382 by newbynobi
Hallo Dan,

very nice machine and nice GUI B)

Of course I will help you as much as I can.

I would recommend to use a custom embedded panel for that, and place that one in
box_custom_4 (will introduce your glade file right of spindle_frame)

you can find more documentation here

Just use glade to make your panel (i.e. spindle_brake.glade) with the needed hal widgets and include it like so:
Code:
gladevcp -x {XID} -H spindle_brake.hal spindle_brake.glade

You need to do the corresponding hal connections in spindle_brake.hal

Norbert
Last edit: 9 years 7 months ago by newbynobi.

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

More
9 years 7 months ago #90411 by dhanger
Okay, I see I have some reading and testing to do. I haven't done very much 'under the hood' work with LinuxCNC, but I've already read a lot so I have some understanding. I'll shout if I run into any problems, thanks.

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

More
9 years 7 months ago #90417 by Patrik T
Hello, thanks for your support.
Here are files of a config. I had to add some .txt extensions to be able to upload them.
There is a ui panel with buttons and callbacks, and a python handler. The callbacks are connected and ready to use. The problem that I want help with is to get them to clear, pan and zoom in the Gmoccapy gremln preview. There is also a button to reload the program in Gmoccapy that I need help with.
I do off course not expect you to do all the buttons, just help with one that has contact with the gremlin and the one that reloads the program.

Best regards
Patrik

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

More
9 years 7 months ago #90418 by Patrik T
I am not sure the upload was successful so I try it again.

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

More
9 years 6 months ago #91282 by Patrik T
Hi Norbert
Have you had any luck finding a solution that would enable me to access the Gmoccapy gremlin preview methods from the python handler of a custom tab, like e discussed earlier?

Best regards
Patrik

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

More
9 years 6 months ago #91318 by newbynobi
I am on holiday, no time to look at this yet.

Norbert

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

Moderators: newbynobi, HansU
Time to create page: 0.545 seconds
Powered by Kunena Forum