- Posts: 12160
- Thank you received: 0
Introduction: ArtSoft / Mach3 forum drove me here
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.
- robertspark
- Offline
- Platinum Member
-
- Posts: 913
- Thank you received: 0
Please Log in to join the conversation.
Looks like I need to add label LEDs to more closely duplicate your design.
Please Log in to join the conversation.
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.
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.
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.
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.
Please Log in to join the conversation.
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.
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.
