MonoKrom - QtPyVCP GUI for PlasmaC and Mill

More
27 Sep 2020 04:38 #183927 by Himarc3D
Replied by Himarc3D on topic QTPYVCP GUI for plasmac
Plasmac GUI?

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

More
27 Sep 2020 04:47 #183928 by pinder
Replied by pinder on topic QTPYVCP GUI for plasmac
what about monokrom?
The following user(s) said Thank You: KCJ, Himarc3D

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

More
27 Sep 2020 05:02 #183930 by KCJ
Replied by KCJ on topic QTPYVCP GUI for plasmac
I like that.

The whole family:
monokrom-mill
monokrom-lathe
monokrom-plasma
monokrom-3d

Cheers,
Kurt
The following user(s) said Thank You: pinder

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

More
27 Sep 2020 05:06 - 27 Sep 2020 05:08 #183931 by pinder

KCJ wrote: I like that.

The whole family:
monokrom-mill
monokrom-lathe
monokrom-plasma
monokrom-3d

Cheers,
Kurt

I was just going to purpose the idea of GUI for all machines.
Cheers,
pinder
Last edit: 27 Sep 2020 05:08 by pinder.

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

More
27 Sep 2020 09:37 #183954 by tommylight
Replied by tommylight on topic QTPYVCP GUI for plasmac

KCJ wrote: I like that.

The whole family:
monokrom-mill
monokrom-lathe
monokrom-plasma
monokrom-3d

Cheers,
Kurt

+1
Thank you all, you are a magnificent bunch, took just over a week to have a working GUI.
:) :) :)
The following user(s) said Thank You: KCJ, pinder

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

More
27 Sep 2020 10:17 - 27 Sep 2020 10:18 #183961 by pinder
Replied by pinder on topic QTPYVCP GUI for plasmac

tommylight wrote: +1
Thank you all, you are a magnificent bunch, took just over a week to have a working GUI.
:) :) :)


Thankyou Tom.

This week i have realised that working together is a bless.

Moreover, many small things in linuxcnc need a little grinding, and they are perfect.

After this I would like to work on some other project. I am a mechanical engineer and havr some experience with electronic devices, communication.
At the moment linuxcnc need some open hardware. I like Mesa cards, but they are not easy to get a hold of in many countries (shipping, taxes).

So, ideas are welcome.
Please
Last edit: 27 Sep 2020 10:18 by pinder.
The following user(s) said Thank You: tommylight

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

More
27 Sep 2020 10:35 - 27 Sep 2020 11:24 #183964 by pinder
Hi Kurt,

I was thinking if we could put a splash screen before loading of the screen.
Which users can customize like Axis has.

This can provide options for Custom Shop logos Splash.

Moreover, can we use monokrom full screen without any menu and borders?
Last edit: 27 Sep 2020 11:24 by pinder.
The following user(s) said Thank You: KCJ

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

More
27 Sep 2020 14:42 - 27 Sep 2020 14:45 #183985 by tommylight


For QtPyVCP to work on Linux Mint 20 or Ubuntu 20.04 before any attempts at installing it, you have to follow this short snippet on creating a dummy package here, from "detailed solution"
askubuntu.com/questions/1254347/how-to-g...hon2-on-ubuntu-20-04
Then install as per KCJ tutorial on github.
Took me bloody 2 hours to get it to work on Mint 20. :angry:
Edit:
Use this if you have "package not found" issues on Mint20
community.linuxmint.com/software/search
Attachments:
Last edit: 27 Sep 2020 14:45 by tommylight. Reason: more info
The following user(s) said Thank You: KCJ

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

More
27 Sep 2020 15:04 #183986 by KCJ
Thanks tommylight, I'll add that info to the readme. Definitely save some people some time.

I did a fresh install on the latest official LinuxCNC 2.8 ISO, and it worked without any hiccups. Hopefully that's what most people will be using.

I see there are a few style inconsistencies in your screenshot, I'll get those fixed.
The following user(s) said Thank You: tommylight

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

More
27 Sep 2020 15:14 #183988 by KCJ
The command line and INI options provide a way to control the initial window state (maximized, fullscreen etc.) and options to hide the status and menu bars. I find the menu bar very handy since provides a place to access less commonly needed actions that don't warrant space in the VCP, but its easy to enable/disable depending on preference.

F11 can always be used to toggle the full screen state of the VCP.
Monokrome Plasma - A QtPyVCP based Virtual Control Panel for LinuxCNC.

Usage:
  monokrome-plasma --ini INI [options]
  monokrome-plasma --install
  monokrome-plasma (-h | --help)
  monokrome-plasma (-v | --version)
  monokrome-plasma (-i | --info)

Required Arguments:
  --ini INI            Path to INI file, relative to ~/linuxcnc/configs.

Commands:
  --install            Installs LinuxCNC configs, data files etc. in the correct
                       locations. This should always be run after updating.

Display  Options:
  --theme THEME        The Qt theme to use, defaults to system theme.
  --stylesheet STYLESHEET
                       Path to QSS file containing styles to be applied
                       to specific Qt and/or QtPyVCP widget classes.
  --size WIDTHxHEIGHT  Initial size of the window in pixels.
  --position XPOSxYPOS
                       Initial position of the window, specified as the
                       coordinates of the top left corner of the window
                       relative to the top left corner of the screen.
  --fullscreen BOOL    Flag to start with window fullscreen.
  --maximize BOOL      Flag to start with window maximized.
  --hide-menu-bar      Hides the menu bar, if present.
  --hide-status-bar    Hides the status bar, if present.
  --hide-cursor        Hide the mouse cursor.
  --confirm-exit BOOL  Whether to show dialog to confirm exit.

Application Options:
  --log-level=(DEBUG | INFO | WARN | ERROR | CRITICAL)
                       Sets the log level. Default INFO.
  --config-file PATH   Specify the YML config file relative to $CONFIG_DIR.
  --log-file PATH      Specify the log file relative to $CONFIG_DIR.
  --qt-api (pyqt5 | pyqt | pyside2 | pyside)
                       Specify the Qt Python binding to use.
  --perfmon            Monitor and log system performance.
  --develop            Development mode. Enables live reloading of QSS styles.
  --command_line_args <args>...
                       Additional args passed to the QtApplication.

General Options:
  -h --help            Show this help and exit.
  -v --version         Show version and exit.
  -i --info            Show system info and exit.

Note:
  When specifying Monokrome Plasma in the INI using [DISPLAY]DISPLAY=monokrome-plasma [...]
  the --ini parameter will be passed by the linuxcnc startup script so does
  not need to be specified.


All the Display command line options can be set in the INI instead if desired.
[DISPLAY]
...
FULLSCREEN = true
HIDE_MENU_BAR = true
HIDE_CURSOR = true
CONFIRM_EXIT = false
...

We can change what the defaults are if you like, its very easy.

Cheers,
Kurt
The following user(s) said Thank You: tommylight, AgentWD40, pinder

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

Moderators: KCJLcvette
Time to create page: 0.163 seconds
Powered by Kunena Forum