Welcome to the repository for threestudio-extensions. This repository serves as a central hub where you can explore all the currently supported extensions for threestudio in this url.
Add your extension to threestudio-extensions-list.json
which is located in the roof of this project, then submit a pull request.
-
First, under the original threestudio project, create a new folder within the 'custom' directory and name it, for example
my_extension
. -
Inside this
my_extension
folder, you can implement your extension. It's important to note that any module or class you wish to import as a plugin must be registered with a unique class name to avoid conflicts with other extensions. This is done using the @threestudio.register("my_modules") decorator. -
Finally, create an
__init__.py
file within your `my_extension`` folder. In this file, import the Python files that are part of your extension.
This project was inspired by Comfyui-Manager. We are very grateful for their open-source project.