Carousel ATC Setup
+TODO
+ +' + + '' + + _("Hide Search Matches") + + "
" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(SphinxHighlight.highlightSearchWords); +_ready(SphinxHighlight.initEscapeListener); diff --git a/atc_setup.html b/atc_setup.html new file mode 100644 index 00000000..41fdfd04 --- /dev/null +++ b/atc_setup.html @@ -0,0 +1,131 @@ + + + + + + +TODO
+ +It is possible to make a simple customisations to the user interface, like renaming a button, by overriding the main window provider in you custom_config.yml
and a simple python class that extends ProbeBasic
These changes can be achieved with the standard instal of Probe Basic, no need for a Development install. Though you may need to dig into the probe_basic.ui
file in Qt Designer to find the needed widget names (editvcp probe_basic
).
Probe Basic Development Installation Guide
+Note: Probe Basic is currently designed for 1920x1080 screen sizes only!
+For Whatever reason mesa ehternet setups go much more smoothly when a wired ethernet internet connection is used during linux installation. The debian installer does some magic that sets up the network perfectly with only one minor tweak once installed. The wireless setup after install is much easier to get working. I HIGHLY RECOMMEND using the wired internet connection and choosing to setup that connection during installation to avoid unforeseen issues in connecting to the mesa card(s) post install.
+1- Download the Linuxcnc ISO Image File
+http://www.linuxcnc.org/downloads/
+
Select the “LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO” option. you will need to make a bootable dvd or USB thumb drive depending on how you plan to install. The below software is extremely easy and works flawlessly with linux debian OS images. Below is the link for it. I recommend using 2-4gb USB drive for quicker flashing.
+https://www.balena.io/etcher/?ref=etcher_update
+
Once you have created your flash stick for linuxcnc proceed to install and boot the system. (note: It is advised to have an ethernet cable internet connection during install). Select the graphical installation option. Follow the steps on screen to complete installation.
+After installation, copy the following in the main terminal one line at a time and hit enter, select Y for yes if asked at any point during installation.
+sudo apt update
+
+sudo apt upgrade
+
2- Start Linuxcnc first time
+Now linuxcnc needs to be started for the first time for it to create its directory folders. This can be done by the drop down menu and selecting CNC and then LinuxCNC. After the program has started, you can shut it down and continue below.
+3- Install qtpyvcp dependencies
+Copy the following in the main terminal it is all one line, hit enter, select Y for yes f asked at any point during installation.
+sudo apt install python-pyqt5 python-pyqt5.qtquick python-dbus.mainloop.pyqt5 python-pyqt5.qtopengl python-pyqt5.qsci python-pyqt5.qtmultimedia python-pyqt5.qtwebkit qml-module-qtquick-controls gstreamer1.0-plugins-bad libqt5multimedia5-plugins pyqt5-dev-tools python-dev python-setuptools python-pip git:
+
sudo apt install qttools5.dev qttools5-dev-tools python-pip
+
4- Install qtpyvcp
+Copy the following in the main terminal, hit enter, select Y for yes if asked at any point during installation.
+git clone https://github.com/kcjengr/qtpyvcp qtpyvcp
+
+cd qtpyvcp
+
+pip install --editable .
+
+cd
+
+cd ~/qtpyvcp/pyqt5designer/Qt5.7.1-64bit/
+
+sudo ./install.sh
+
+cp ~/qtpyvcp/scripts/.xsessionrc ~/
+
IMPORTANT: now Log Off of Linux, then Log In again for the previous installation to take effect, then continue with step 6 after in a main terminal!
+5- Install probe_basic
+Copy the following in the main terminal, hit enter.
+git clone https://github.com/kcjengr/probe_basic.git
+
6- Setup the probe_basic directory and install using pip.
+From the main terminal paste the following and press enter after each, if asked, type Y and enter to continue install.
+cd probe_basic
+
+qcompile .
+
+pip install -e .
+
+cd
+
+cp -r ~/probe_basic/probe_basic/fonts/ ~/.local/share/
+
+cp -r ~/probe_basic/config/probe_basic/ ~/linuxcnc/configs/
+
And install the conversational widgets
+pip install git+https://github.com/kcjengr/qtpyvcp_conversational_gcode.git
+
More details about conversational widgets:
+https://github.com/kcjengr/qtpyvcp_conversational_gcode
+7- Edit probe_basic
+To be able to edit the probe_basic gui, you will enter the following in the main terminal.
+editvcp probe_basic
+
8- You are Finished with Installation!
+This should complete the installation of QtPyVCP and the probe_basic GUI, you can now run the sim to get to know it, as well open and play with the GUI design. If you would like to make a Desktop Icon to launch the editor for probe_basic, follow the below instructions:
+right click on the desktop and select “Create Launcher”
+In the field entries you can put the following information:
+NOTE: for the command line be sure to change the “YOUR_COMPUTER_NAME_HERE” for you actual computer name, for example /home/jacob/.local/bin/editvcp probe_basic or the launcher will give an error!
+Name: QTDesigner
+
+Comment: probe_basic gui editor
+
+Command: /home/YOUR_COMPUTER_NAME_HERE/.local/bin/editvcp probe_basic
+
+Working Directory:
+
Press the Save button once completed.
+The first launch select Mark Executable when prompted.
+9- Congratualtions you have made it through and should be ready to start having fun!
+Probe Basic APT Installation Guide for use with Debian 12 Bookworm and LinuxCNC version 2.9 or Later
+Important Requirements:
+Probe Basic is currently designed for 1920x1080 screen sizes only!
Probe Basic Install by apt is for amd64 only currently!
Probe Basic requires graphics hardware that supports OpenGL 3.2 and OpenGL Shading Language (GLSL) 1.50 or later
Probe Basic is tested on xfce4, during install of Debian 12 ISO:
DO NOT enter a Root password during installation, leave blank and skip this page.
+++During installation, this screen below will appear, be sure to uncheck gnome and check xfce as pictured below. no other changes on this page are needed.
+
Download the Linux Debian 12 Bookworkm ISO Image File
+https://www.debian.org/download
+
Select the Linux Debian 12 Bookworm Netinst CD ISO from the above link. you will need to make a bootable dvd or USB thumb drive depending on how you plan to install. The below software is extremely easy and works flawlessly with linux debian OS images. Below is the link for it. I recommend using 2-4gb USB drive for quicker flashing.
+https://www.balena.io/etcher/?ref=etcher_update
+
Once you have created your flash stick for linuxcnc proceed to install and boot the system. (note: It is advised to have an ethernet cable internet connection during install). Select the graphical installation option. Follow the steps on screen to complete installation. When you are greeted by the Linux Desktop Selection Page, uncheck the GNOME option and check the XFCE4 option.
+After installation, copy the following in the main terminal one line at a time and hit enter, select Y for yes if asked at any point during installation. If the return shows “All up to Date” then you can proceed to the next step.
+sudo apt update
+
+sudo apt upgrade
+
If you have not already installed linuxcnc from apt, use the following line in main terminal:
+sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
+
Once you have installed linuxcnc, open linuxcnc and start the axis sim briefly and then you can shut it down to ensure the installation was succesful.
+Adding the apt repository to Debian 12, Run the following Lines in Main terminal one at a time
+sudo apt install curl
+
+
+echo 'deb [arch=amd64] https://repository.qtpyvcp.com/apt develop main' | sudo tee /etc/apt/sources.list.d/kcjengr.list
+
+
+curl -sS https://repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg
+
+
+gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A
+
Update the Repositories
+sudo apt update
+
Install QtPyVCP and Probe Basic
+sudo apt install python3-qtpyvcp
+
+sudo apt install python3-probe-basic
+
You are all installed! You should now be able to launch the Probe Basic sim from within the linuxcnc applications dropdown menu.
+Updating of probe basic and qtpyvcp will occur when your run the normal “sudo apt update, sudo apt upgrade” commands. During updating, the probe basic sim configuration files will be overwritten. It is strongly recommended to create your machine configuration files with unique names to avoid having them overwritten during updates.
+To build your own machine configuration, please follow the instructions in this document:
+https://forum.linuxcnc.org/qtpyvcp/48401-configuration-file-conversion-doc-for-probe-basic-py3
+ProbeBasic is a QtPyVCP based user interface +for the LinuxCNC machine control.
+TODO
+https://forum.linuxcnc.org/qtpyvcp/48401-py3-probe-basic-config-conversion-doc-lcnc-2-9
+Probe basic requires the following parameters be created in the var file
+Probe Basic’s devlop version is now using the var file in the configs folder for storing parameters used in subroutines and other functions throughout linuxcnc. These are callable the same as all other parameters which allows them to be used in remap subroutines. This will allow users a greater degree of flexibility in modifying and using features such as tool touch off during tool changes, programmable coolant, probing etc all while being able to make changes from the from within the probe basic user interfaces entry boxes. Once changes to the entries are made they are recorded to the var file and are available immediately after the changes are made. This allows users the ability to change vital settings to ensure their machines run optimally and reliably without major config modifications.
+The Probe Basic Sim Config Folder contains the sim.var file which has been updated with these now required parameters. please be sure to add them to your machine connfiguration for proper functionality.
+ +Probe Basic has number of include probing routines.
+ +To begin probing you fist need to make sure you have connected motion.probe-input
in your HAL file.
Next add an entry in your Tool Table for the probe, including the tip diameter and length offset.
+Note
+TODO: Document best practice for measuring the probe tools length offset. +Post by Lcvette suggesting a good method to setup both a probe and tool setter. +https://forum.linuxcnc.org/qtpyvcp/49102-3d-probe-electric-tool-setter-together-in-pb#271349
+There are also a number of probing parameters that need to be populate as well. The help tab include pointers on some of these entries.
+This area allows you to select a Workpiece Coordinate Offsets (WCO) and if it is to be updated as a result of probing.
+Set the active Workpiece Coordinate Offset, which maybe updated.
+Update the selected WCO system (G54, G55, etc).
+Do not update a WCO, just display the results below.
+This should be set to match the probe entry in you tool table.
+How far the probe will travel in either X or Y before moving down a side.
+Fast feed rate, for first touch when probing.
+Slow feed rate for second touch when probing. If set to 0 (zero) a second touch will not be perform and the result from the fast probe is used.
+Maximum distance to travel in either X or Y before tripping out.
+Retract distance for X and Y probing after touch, this should be at least larger than any backlash in the axis.
+Maximum distance to travel in Z before tripping out.
+Retract distance for Z probing after touch, this should be at least larger than any backlash in the axis.
+Extra distance to move down a side (after probe diameter) before probing in X or Y.
+Distance between test points when probing for Edge Angle’s.
+This shows the results from the last probing run. There are reset button to clear the data if needed.
+The purple dot in each button shows the position at which your probe tip should be approximately placed before starting the probe run. +The Z height above the work piece should be no more than your “MAX Z DISTANCE” parameter.
+As most probes require a small deflection of the tip before tripping, PROBE CALIBRATION OFFSET is used to account for this and can be set using these calibration routines and an accurately measured standard gauge.
+Tip
+Calibration video from Lcvette https://youtu.be/Qr9L6dyXf2A
+Included here for offline reference, though a running PB instance may have more up to date help.
+ + + + + + + +Probe Basic .deb Installation Guide for use with Debian Bookworm and LinuxCNC version 2.9 or Later
+Important Requirements:
+Probe Basic is currently designed for 1920x1080 screen sizes only!
Probe Basic Install by apt is for amd64 only currently!
Probe Basic requires graphics hardware that supports OpenGL 3.2 and OpenGL Shading Language (GLSL) 1.50 or later
Probe Basic is tested on xfce4, during install of Debian 12 ISO:
DO NOT enter a Root password during installation, leave blank and skip this page.
+++During installation, this screen below will appear, be sure to uncheck gnome and check xfce as pictured below. no other changes on this page are needed.
+
Download the Linux Debian 12 Bookworkm ISO Image File
+https://www.debian.org/download
+
Select the Linux Debian 12 Bookworm Netinst CD ISO from the above link. you will need to make a bootable dvd or USB thumb drive depending on how you plan to install. The below software is extremely easy and works flawlessly with linux debian OS images. Below is the link for it. I recommend using 2-4gb USB drive for quicker flashing.
+https://www.balena.io/etcher/?ref=etcher_update
+
Once you have created your flash stick for linuxcnc proceed to install and boot the system. (note: It is advised to have an ethernet cable internet connection during install). Select the graphical installation option. Follow the steps on screen to complete installation. When you are greeted by the Linux Desktop Selection Page, uncheck the GNOME option and check the XFCE4 option.
+After installation, copy the following in the main terminal one line at a time and hit enter, select Y for yes if asked at any point during installation. If the return shows “All up to Date” then you can proceed to the next step.
+sudo apt update
+
+sudo apt upgrade
+
To install Probe Basic using the .deb packages, you must install all 3 seperately using the following method:
+Requirements:
++++
+- +
Debian 12 Bookworm
- +
Python 3.11
- +
Linuxcnc 2.9 or higher
- +
xfce4 desktop environment (should be selected during installation of Debian 12 ISO)
- +
OpenGL 1.50 or Later graphics support
- +
QtPyVCP
- +
hiyapyco
If you have not already installed linuxcnc from apt, use the following line in main terminal:
+sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
+
Once you have installed linuxcnc, open linuxcnc and start the axis sim briefly and then you can shut it down to ensure the installation was succesful.
+Installing QtPyVCP and Probe Basic, Download the following files into your chosen directory typically home/your-pc-name/downloads
+https://repository.qtpyvcp.com/repo/probe-basic-dev/python3-probe-basic_0.5.4-81.dev_all.deb + +https://repository.qtpyvcp.com/repo/qtpyvcp-dev/python3-qtpyvcp_4.1.2-15.dev_all.deb + +https://repository.qtpyvcp.com/repo/hiyapyco/python3-hiyapyco_0.5.1-1_all.deb+
Go to the downloaded files directory folder, right click in the folder and select “Open Terminal Here”. Enter the following commands in the new terminal one at a time and press enter, it will require your sudo password:
+sudo apt install debhelper-compat dh-python python3-setuptools python3-yaml python3-pyqt5.qtmultimedia python3-pyqt5.qtquick qml-module-qtquick-controls libqt5multimedia5-plugins python3-dev python3-docopt python3-qtpy python3-pyudev python3-psutil python3-markupsafe python3-vtk9 python3-pyqtgraph python3-simpleeval python3-jinja2 python3-deepdiff python3-sqlalchemy qttools5-dev-tools python3-serial
+
then enter the following using the recently downloaded file name :
+sudo dpkg -i python3-hiyapyco_0.5.1-1_all.deb
+
then enter the following using the recently downloaded file name :
+sudo dpkg -i python3-qtpyvcp_4.1.2-15.dev_all.deb+
then enter the following using the recently downloaded file name :
+sudo dpkg -i python3-probe-basic_0.5.4-81.dev_all.deb+
You are all installed! You should now be able to launch the Probe Basic sim from within the linuxcnc applications dropdown menu.
+When updating/installing the latest .deb files, the probe basic sim configuration files will be overwritten. It is strongly recommended to create your machine configuration files with unique names to avoid having them overwritten during updates.
+To build your own machine configuration, please follow the instructions in this document:
+https://forum.linuxcnc.org/qtpyvcp/48401-configuration-file-conversion-doc-for-probe-basic-py3
+To uninstall enter each of the following commands one at a time or which ever items you wish to uninstall in main terminal and press enter. This will completely remove each package:
+sudo dpkg -P python3-probe-basic
+
+sudo dpkg -P python3-hiyapyco
+
+sudo dpkg -P python3-qtpyvcp
+
Probe Basic STABLE and DEVELOP Version Information
+Probe Basic now has a STABLE and a DEVELOP repository from which users can select for apt updates. You can switch between repositories to test new and upcoming features but must understand that the development repository will be a testing version. As such it may be subject to bugs. if you select the develop branch please be sure to report any bugs either on the forum or on git.
+Step by Step how to change the sources list name for the stable and develop apt repository:
+1- Type or copy and paste the following line in a terminal, click ENTER, type in your sudo password when prompted, click ENTER.
+sudo nano /etc/apt/sources.list.d/kcjengr.list
+
2- Edit the source list line to set the apt repository for either STABLE or DEVELOP version of Probe Basic as shown below:
+ +3- Exit and Save the changes, CTRL + X, Y, ENTER as shown below:
+ +4- Run uninstall the current installation of Probe Basic with the following commands in terminal:
+sudo dpkg -P python3-probe-basic
+
sudo dpkg -P python3-qtpyvcp
+
5- Run install of Probe Basic and QtPyVCP with the following commands in terminal:
+sudo apt install python3-qtpyvcp
+
sudo apt install python3-probe-basic
+
6- Run apt update/upgrade, copy the following in the main terminal one line at a time , select Y for yes if asked at any point during the update
+sudo apt update
+
sudo apt upgrade
+
7- NOTE: The development versions will likely require edits, additions or updates to config files, these include but are not limited to the yaml, ini, hal, subroutine, python and any other supporting configuration files. these changes may not always be fully documents as we test them and are making changes, so we urge users to be aware that the development version should be used in a testing environment only. Those wishing to retain stability in operational use should change to the STABLE version.
+Troubleshooting, bug reporting, or general assistance, visit QtPyVCP section of LinuxCNC forum
+ +Probe Basic APT Installation Guide for use with Debian 12 Bookworm and LinuxCNC version 2.9 or Later
+Important Requirements:
+Probe Basic is currently designed for 1920x1080 screen sizes only!
Probe Basic Install by apt is for amd64 only currently!
Probe Basic requires graphics hardware that supports OpenGL 3.2 and OpenGL Shading Language (GLSL) 1.50 or later
Probe Basic is tested on xfce4, during install of Debian 12 ISO:
DO NOT enter a Root password during installation, leave blank and skip this page.
+++During installation, this screen below will appear, be sure to uncheck gnome and check xfce as pictured below. no other changes on this page are needed.
+
Download the Linux Debian 12 Bookworkm ISO Image File
+https://www.debian.org/download
+
Select the Linux Debian 12 Bookworm Netinst CD ISO from the above link. you will need to make a bootable dvd or USB thumb drive depending on how you plan to install. The below software is extremely easy and works flawlessly with linux debian OS images. Below is the link for it. I recommend using 2-4gb USB drive for quicker flashing.
+https://www.balena.io/etcher/?ref=etcher_update
+
Once you have created your flash stick for linuxcnc proceed to install and boot the system. (note: It is advised to have an ethernet cable internet connection during install). Select the graphical installation option. Follow the steps on screen to complete installation. When you are greeted by the Linux Desktop Selection Page, uncheck the GNOME option and check the XFCE4 option.
+After installation, copy the following in the main terminal one line at a time and hit enter, select Y for yes if asked at any point during installation. If the return shows “All up to Date” then you can proceed to the next step.
+sudo apt update
+
+sudo apt upgrade
+
If you have not already installed linuxcnc from apt, use the following line in main terminal:
+sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
+
Once you have installed linuxcnc, open linuxcnc and start the axis sim briefly and then you can shut it down to ensure the installation was succesful.
+Adding the apt repository to Debian 12, Run the following Lines in Main terminal one at a time
+sudo apt install curl
+
+
+echo 'deb [arch=amd64] https://repository.qtpyvcp.com/apt stable main' | sudo tee /etc/apt/sources.list.d/kcjengr.list
+
+
+curl -sS https://repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg
+
+
+gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A
+
Update the Repositories
+sudo apt update
+
Install QtPyVCP and Probe Basic
+sudo apt install python3-qtpyvcp
+
+sudo apt install python3-probe-basic
+
You are all installed! You should now be able to launch the Probe Basic sim from within the linuxcnc applications dropdown menu.
+Updating of probe basic and qtpyvcp will occur when your run the normal “sudo apt update, sudo apt upgrade” commands. During updating, the probe basic sim configuration files will be overwritten. It is strongly recommended to create your machine configuration files with unique names to avoid having them overwritten during updates.
+To build your own machine configuration, please follow the instructions in this document:
+https://forum.linuxcnc.org/qtpyvcp/48401-configuration-file-conversion-doc-for-probe-basic-py3
+TODO/WIP
+Tool touch off position (G30), X and Y should be centre of the fixed tool setter. +Z should always be set to 0
+Spindle Zero is the length of from the spindle nose to the top of the tool setter (at the trip point)
+the value for Spindle Zero
is measure by probing the top of the setter using the spindle nose (empty spindle no holders)
Important
+Currently G59.3 Must remain as 0,0,0 as this is used during the tool_touch_off.ngc
routine
TODO:
+ +