Skip to content

Feature request: Load PLY data from memory #98

Description

@fishcu

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions