Skip to content

vvzen/gui-convert-pts-to-ply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

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).

Requirements

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.

Build

Under macOS and Linux, open a terminal and type sh build.sh file.

On Windows, use git bash to run sh build.sh.

Example steps to create a conda env and build the app

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

Screenshot (macOS)

screenshot.png

About

Simple GUI App to convert between pts and ply point cloud files (the reason being that ply files are easily imported inside Houdini)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published