Introduction: ArtSoft / Mach3 forum drove me here

More
26 Jan 2021 18:47 #196643 by rodw

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 or Create an account to join the conversation.

More
26 Jan 2021 19:26 #196650 by robertspark
help...{linux noob}
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 or Create an account to join the conversation.

More
26 Jan 2021 19:31 #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.
Attachments:
The following user(s) said Thank You: tommylight, Etaoin

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

More
26 Jan 2021 20:03 #196658 by rodw

help...{linux noob}
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
The following user(s) said Thank You: Etaoin

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

More
26 Jan 2021 20:08 #196659 by Etaoin

help...{linux noob}
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 or Create an account to join the conversation.

More
26 Jan 2021 20:11 - 26 Jan 2021 20:23 #196661 by Etaoin

Try
sudo apt-get install python3-gi


Doh! :pinch: You had already answered @robertspark by the time I finished typing my reply :)
Last edit: 26 Jan 2021 20:23 by Etaoin.

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

More
26 Jan 2021 20:18 #196662 by Etaoin

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 or Create an account to join the conversation.

More
26 Jan 2021 20:22 #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 or Create an account to join the conversation.

More
26 Jan 2021 20:57 #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.
The following user(s) said Thank You: Etaoin

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

More
26 Jan 2021 21:00 - 26 Jan 2021 21:01 #196665 by cmorley

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.
Last edit: 26 Jan 2021 21:01 by cmorley.
The following user(s) said Thank You: Etaoin

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

Time to create page: 0.095 seconds
Powered by Kunena Forum