This small gui app is used to convert .pts
files (result of lidar point clouds) to the .ply
format.
It was tested under macOS 10.9+ and Windows 10.
Probably works also under Linux (you may have to change a thing or two about the paths stuff).
PySide2
. I would recommend using conda to manage your python envs and packages.
Through conda, pyside2 can be easily installed like this:
# Add the channel where pyside2 is available
conda config --add channels conda-forge
# Install PySide2 package
conda install pyside2
Check this article by Fredrik Averpil to know more.
If you want to build the app, you'll also need pyinstaller
.
pip install pyinstaller
Version numbers are specified in the requirements.txt
file.
Under macOS and Linux, open a terminal and type sh build.sh
file.
On Windows, use git bash to run sh build.sh
.
Once you have conda, you'll see that your prompt will change to have the current conda environment name at the beginning. The default conda env is called base so that's what you'll see, unless you're in a different environment
(base) $ git clone https://github.com/vvzen/gui-convert-pts-to-ply.git
(base) $ cd gui-convert-pts-to-ply.git
Create a new conda environment (use the name that you want)
(base) $ conda create -n my-new-env
Activate the environment so that running conda install and pip install will only install the dependencies in the current environment
(base) $ conda activate my-new-env
Install the dependencies
(my-new-env) $ conda install pyside2
(my-new-env) $ pip install pyinstaller
Build the app
(my-new-env) $ sh build.sh
Run the app
(my-new-env) $ python main.py