isl-org / isl-org/Open3D

o3d.io.read_triangle_mesh_from_bytes

Open
#7,236 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### Proposed new feature or change

There is an `o3d.io.read_point_cloud_from_bytes`, but no pendant for triangle meshes.

The usecase here is an HTTP server, taking STL files as an input. At the moment one has to write a temporary file, then pass that path to open3d.

### References

https://www.open3d.org/docs/latest/python_api/open3d.io.read_point_cloud_from_bytes.html

Trimesh supports to load from BytesIO: https://trimesh.org/trimesh.exchange.load.html#trimesh.exchange.load.load

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.