daavoo / daavoo/pyntcloud

Pyntcloud.from_file for multiple files?

Open
#183 3 comments 0 reactions 0 assignees View on GitHub
Debate Feature Request
Dominant language
Python
Stars
1.5k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

Perhaps this is a rare use-case, but I often have folders full of .ply files to load into one cloud. I am currently manually reading them in (just points, probably adding mesh and other structures is much harder), but it could be helpful to have a feature for this built-in (or an easy way to concatenate two Pyntcloud objects?)

```
from pyntcloud.io import read_ply

last_df = None
for c_file in all_files:
cur_df = read_ply(c_file)['points']
if last_df is None:
last_df = cur_df
else:
last_df = pd.concat([last_df, cur_df])
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.