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

Python API #12

Open
lilleyse opened this issue Oct 31, 2022 · 2 comments
Open

Python API #12

lilleyse opened this issue Oct 31, 2022 · 2 comments

Comments

@lilleyse
Copy link
Contributor

lilleyse commented Oct 31, 2022

Related to #3 and #4

We should have a lightweight Python API that wraps the C++ 3D Tiles streaming API.

This is the API used by our Omniverse Kit extensions. It should also be generic enough that it can be used by other Kit extensions and even non-Omniverse Python code.

Currently we use pybind11 to generate a Python Dynamic Module (.pyd), which includes some baked-in documentation. See PythonBindings.cpp. In addition to this we probably need some basic .py wrapper code to create a proper Python module.

@lilleyse
Copy link
Contributor Author

Or we could take the complete opposite approach and do as little as possible in Python. The examples in https://github.com/NVIDIA-Omniverse/kit-extension-template-cpp show how to write a Carbonite plugin that hooks directly into the update loop.

@lilleyse
Copy link
Contributor Author

An initial Python API was added in #496. This issue could stay open until we have versioning and documentation figured out.

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

No branches or pull requests

1 participant