Want to make a GUI similar to Mach3
I used to use Mach3 but lost my licence and would like to explore using LinuxCNC anyway. (I'm sure they would re issue my licence if I asked, as they are pretty good guys)
I used to make screens for Mach3 as a hobby.(Needed to get a life) Some were quite garish, while occasionally Id get it right.
OK I have installed the latest Linux CNC and the first frustration is that I need to tick a separate radio button to jog an axis. Already I'd like to create a screen where the controls were layed out differently.
I see in the screen sample section that someone has posted a picture of a 'proof of concept', where the buttons were placed over a bitmap picture. (It was me who did that picture years ago) (Id like to do a new toned down version.)
If I was to create a new bitmap picture as the screen background, what program would I need to use to place transparent buttons over it?
If I was to make some screen designs, I wonder if someone would like to help me get them functioning?
To lay things over a bitmap you will need the Glade designer, if you installed LCNC from the Debian install it will be under the development menu.
Have a look at JT's site for some tutorials on Glade and LinuxCNC, they are brilliant! gnipsel.com/linuxcnc/index.html
Do keep us up to date on how you go.
install glade 2 not glade 3 depending on which version of debian your using is really all you need
follow the instructions to get the gmocappy gui , and that should cover just about everything you need
happy to help if you need it
follow the code base of gmocappy and you wont go far wrong
I didn't finish it as I didn't know what licence it was released with.
Gscreen, is the infrastructure for building glade based screens in linuxcnc.
event boxes would allow you to detect clicks in a certain area.
There are no transparent buttons. - how would use show whether it is on or off?
Anyhow I'd like to make a Linuxcnc specific one but would like some guidance, in what the screen should or shouldnt include. (I only want to see separate jog buttons without having to tick a radio box.
I'd love for you (or anyone tell me what a good generic 4 axis machine controller should include a,d what I should concentrate the design on.
My thought was that since most buttons are momentarily pressed, that to show their state was not really necessary.
I guess for single throw buttons that could be shown with a 'LED'.
So you are saying that its possible to place an event box over the buttons and that would be transparent over the background picture?
I'm not really that good at the coding side Where do I even find the Gscreen file in order to edit it?
I'm guessing with some guidance and team contribution we can get something good out hey?
It would need to be placed in configs/sim/gscreen/gscreen_custom
I added an event box to show how that is done.
Unfortunately the background pic will not be shown in the GLADE editor
In the future I may be able to fix that..but not for awhile.
What version of linuxcnc are you using?
It turns out that somehow I'd missed the fact that Tormach are now using LinuxCNC with their own interface overlays and have named the software Pathpilot. The conversational interfaces look great and I now secretly want a Tormach 1100, but if I could add those interfaces to what I have now, then it'd save me a lot of money!
The PathPilot GPL source is available on DVD.
"Mail a $10 check to:
GPL Compliance Division
1071 Uniek Drive
Waunakee, WI 53597999
Please write "Source Code for Machine Controller Software" in the memo line of your payment.""