Introduction: ArtSoft / Mach3 forum drove me here

More
5 years 9 months ago #196643 by rodw

robertspark wrote: b612-font.com/

Thanks, I've learnt something, it is a very readable font


Which is not surprising when it was designed to e so :)

Please Log in to join the conversation.

More
5 years 9 months ago #196650 by robertspark
help...{linux noob}
Code:
rob@RobsCNC:~/Downloads$ python3 main.py Traceback (most recent call last): File "main.py", line 3, in <module> import gi ModuleNotFoundError: No module named 'gi'

Please Log in to join the conversation.

More
5 years 9 months ago #196653 by cmorley
Here is a _working_ rough trial in qtvcp - just with font and images I had on system.
Looks like I need to add label LEDs to more closely duplicate your design.

Please Log in to join the conversation.

More
5 years 9 months ago #196658 by rodw

robertspark wrote: help...{linux noob}

Code:
rob@RobsCNC:~/Downloads$ python3 main.py Traceback (most recent call last): File "main.py", line 3, in <module> import gi ModuleNotFoundError: No module named 'gi'


Try
sudo apt-get install python3-gi

askubuntu.com/questions/80448/what-would...-missing-from-python

Please Log in to join the conversation.

More
5 years 9 months ago #196659 by Etaoin

robertspark wrote: help...{linux noob}

Code:
rob@RobsCNC:~/Downloads$ python3 main.py Traceback (most recent call last): File "main.py", line 3, in <module> import gi ModuleNotFoundError: No module named 'gi'


Hmm. Looks like you don't have PyGObject installed (the language bindings between Python3 and GTK3). Try running "sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0" to get the dependencies. What Linux distribution are you using?

Please Log in to join the conversation.

More
5 years 9 months ago #196661 by Etaoin

rodw wrote: Try
sudo apt-get install python3-gi


Doh! :pinch: You had already answered @robertspark by the time I finished typing my reply :)

Please Log in to join the conversation.

More
5 years 9 months ago #196662 by Etaoin

cmorley wrote: Here is a _working_ rough trial in qtvcp - just with font and images I had on system.
Looks like I need to add label LEDs to more closely duplicate your design.


Cool! That looks promising. Steady on though, because I'm already working on an updated version which more closely matches a typical LinuxCNC screen. No huge differences, just a few new buttons and changed wording on others. Quite a challenge getting the new elements to fit, but I'm getting there slowly. You might want to use that XML as your base instead... Will post screengrab in a mo, just gotta tidy up a few things!

Please Log in to join the conversation.

More
5 years 9 months ago #196663 by Etaoin
Could someone enlighten me; is "ABS" and "REL" the same as G53 and G54 coordinates? Many LinuxCNC GUIs I looked at for inspiration include both ABS/REL selectors and coordinate system switching - is this really needed? :blink:

Please Log in to join the conversation.

More
5 years 9 months ago #196664 by cmorley
Yes, absolute and relative mean referenced from machine origin, relative is referenced from current user origin.

It's common labels on DROs that machinists might use.
It's also slightly more informative the obscure G code labels - at least untill you are used to the gcode labels.

Please Log in to join the conversation.

More
5 years 9 months ago #196665 by cmorley

Etaoin wrote: Cool! That looks promising. Steady on though, because I'm already working on an updated version which more closely matches a typical LinuxCNC screen. No huge differences, just a few new buttons and changed wording on others. Quite a challenge getting the new elements to fit, but I'm getting there slowly. You might want to use that XML as your base instead... Will post screengrab in a mo, just gotta tidy up a few things!


i would think you should switch to a toolkit that linuxcnc actually supports before spending a lot of time tweaking your code.
Linuxcnc's toolkits use special widgets for many functions that makes coding much easier.
If you build a screen completely with plain widgets you will have a lot of cranky python code to add to make it work.

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum