Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vvzen/gui-convert-pts-to-ply

Simple GUI App to convert between pts and ply point cloud files (the reason being that ply files are easily imported inside Houdini)
https://github.com/vvzen/gui-convert-pts-to-ply

ply point-cloud point-clouds pts pyside2 python

Last synced: 27 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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 ](https://conda.io/en/latest/miniconda.html) 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](https://fredrikaverpil.github.io/2017/08/28/pyside2-easy-install/) 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](screenshot.png)