point-cloud-utils icon indicating copy to clipboard operation
point-cloud-utils copied to clipboard

Feature request: Load PLY data from memory

Open fishcu opened this issue 1 year ago • 0 comments

We have a use case where we would like to load PLY data from a zip file:

with zipfile.ZipFile(file_path, "r") as zip_file:
    ply_data = zip_file.open("mesh.ply").read()
    faces, vertices = pcu.load_mesh_vf(ply_data, "ply") # Does not exist!

The current interface only allows loading from a file at a given path:

v, f = pcu.load_mesh_vf("path/to/mesh.ply")

May we please request this feature to be added to PCU in the future?

fishcu avatar Sep 10 '24 13:09 fishcu