GMoccaPy doesn't fit in 1024x768 resolution

More
10 years 4 months ago #76170 by andypugh
Replied by andypugh on topic GMoccaPy doesn't fit in 1024x768 resolution

RotarySMP wrote: I used to use TurboCNC, and it had a very simple G77 canned cycle. Amazing how much lathe work that one simple cycle could cover.


It would be pretty easy to re-create G77 in LinuxCNC.

linuxcnc.org/docs/2.7/html/remap/remap.h...map_extending_g_code

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

More
9 years 5 months ago #93460 by hwylie
Replied by hwylie on topic GMoccaPy doesn't fit in 1024x768 resolution
I wish to use the Gmoccapy GUI and have the same problem as original post. The Gmoccapy settings page enables the user to increase window height, but not make it less than 750 -- in order to see more than roughly half of the buttons at bottom of the GUI (Debian Wheezy, LCNC Master, 1366x768 monitor).

Gmoccapy full screen makes the bottom-row buttons fully visible as expected, but introduces the problem of manual tool change confirmation window focus described in my earlier post today (May 22).

Is it a consideration to adapt Gmoccapy screen height minimum value to something less than 750? I anticipate ~700 will make the window ('start as window'/'start maximised' as opposed to 'start as full-screen') visible on screen - to allow focus to be returned to confirm manual tool change, once necessary jogging and touch-off have been performed.

Alternatively, is there a workaround to allow Gmoccapy to overlay the Debian top toolbar?

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

More
9 years 5 months ago #93466 by rodw
Rereading your post, I am wondering if your issue is not a Debian issue?

I'll have to fire up my old monitor to check but its 4:3 format and I'm sure it is 1024 x 768. Using Linux Mint, I've had no problems with window sizing full screen or otherwise.

I recently purchased a wide screen 16:9 touch screen touch monitor in preparation for going live.

Now I'm not suggesting you just blindly go off and install Mint, but it might be worth investigating this a bit further.

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

More
9 years 5 months ago #93488 by hwylie
Replied by hwylie on topic GMoccaPy doesn't fit in 1024x768 resolution
A touch-screen is a consideration, once confident we'll get the desired functionality. As AP has suggested in reply to my other post today, a button fitted to the spindle-housing sub-assembly is not an unlikely remedy.

In the meantime, the view of the Gmoccapy guru is anticipated.

Since you've been through the exercise, your recommendation of touch-screen monitor?

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

More
9 years 5 months ago - 9 years 5 months ago #93496 by newbynobi
Replied by newbynobi on topic GMoccaPy doesn't fit in 1024x768 resolution
It is not possible to reduce the size lower than 750 pixel, as that would include to rezize all widgets. A lot of coding.
If you use full screen all should fit.

If you have a problem with tool change confirmation, you are using hal-manual toolchange, instead of the gmoccapy one.

just comment out everything with hal_manual_toolchange and add the following lines to your postgui hal file
Code:
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
See also linuxcnc.org/docs/html/gui/gmoccapy.html#_tool_related_pin

Norbert

Norbert
Last edit: 9 years 5 months ago by newbynobi.
The following user(s) said Thank You: hwylie

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

More
9 years 5 months ago #93501 by hwylie
Replied by hwylie on topic GMoccaPy doesn't fit in 1024x768 resolution
Just to add that (after reading more than one week ago) I had erroneously applied the documentation to which you referred, and tried to invoke Gmoccapy manual tool change by way of 'loadusr' - with less understanding of LCNC than at present, overlooking the statement 'gmoccapy's internal tool change dialog'.

Having identified the code in github 'gmoccapy.py' source, the ensuing study is sure to develop my Python understanding!

Confident that a good solution is close at hand, your prompt response (as below) is appreciated.

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

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