Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/vvzen/gui-convert-pts-to-ply
- Owner: vvzen
- License: mit
- Created: 2019-06-14T08:51:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T00:13:03.000Z (about 1 year ago)
- Last Synced: 2024-12-23T23:32:36.288Z (about 1 month ago)
- Topics: ply, point-cloud, point-clouds, pts, pyside2, python
- Language: Python
- Homepage:
- Size: 10 MB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)