Very basic QtPyVCP based Virtual Control Panel for LinuxCNC. This is intended as a template that you can use as a base for creating your own VCPs.
- Ensure that developement dependencies are installed
sudo apt install qttools5-dev qttools5-dev-tools python3-wheel python3-venv
-
Fork this repository to your github account or to other git environment.
-
Clone it to your local machine:
git clone [url-to-your-forked-repo]
-
Use the scripts 'copy.sh' or 'tutorial.sh' to create a starting VCP
-
Either follow the tutorial or start your own VCP journey
-
Edit the layout in QtDesigner by running:
editvcp myvcp
Where myvcp
is whatever name you ended up using for your new VCP.
-
Clone the VCP Template:
git clone https://github.com/kcjengr/vcp-template.git
-
Run the copy.sh script and give it a new name:
./copy.sh
-
Clone the VCP Template:
git clone https://github.com/kcjengr/vcp-template.git
-
Run the tutorial.sh script and give it a new name:
./tutorial.sh
The use of copy.sh or tutorial.sh will also setup a couple of things:
- A python virtual env located in
~/.linuxcnc_venv
This is where the starting vcps are installed to via the scripts.
- An alias is created in
~/.bash_alias
calledcncshell
. This alias can be used from a bash shell to activate the virtual python environment referenced in #1 above. You will need to open either a new shell window or tab for this alias to be available.
To be able to edit the new VCPs that you have started you will need to run the editvcp command from a shell with the cncshell activate.
i.e. steps being from within a shell:
cncshell
editvcp myvcp