Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Load PLY data from memory #98

Open
fishcu opened this issue Sep 10, 2024 · 0 comments
Open

Feature request: Load PLY data from memory #98

fishcu opened this issue Sep 10, 2024 · 0 comments

Comments

@fishcu
Copy link

fishcu commented Sep 10, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant