Add Blender addon - #3
Draft
n-jay wants to merge 2 commits into
Draft
Conversation
lithorus
reviewed
Mar 30, 2026
Collaborator
There was a problem hiding this comment.
No requirements.txt file for the plugin. It should be run in a environment that already has the relevant opencue dependencies.
Author
There was a problem hiding this comment.
The requirements.txt is for Blender's built-in Python interpreter, which is separate from the host machine's Python installation.
https://docs.blender.org/api/current/info_overview.html
lithorus
reviewed
Mar 30, 2026
Comment on lines
+79
to
+84
| print("\n----- Installing External Dependencies -----") | ||
| subprocess.call([python_exe, "-m", "ensurepip"]) | ||
| subprocess.call([python_exe, "-m", "pip", "install", "--upgrade", "pip"]) | ||
| # install required external packages | ||
| subprocess.call([python_exe, "-m", "pip", "install", "-r", requirements, "-t", blender_dependencies_path]) | ||
| print("\n----- External Dependencies Installed Successfully -----") |
Collaborator
There was a problem hiding this comment.
Same here. No dependency installs on plugin init.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the initial implementation of the OpenCue Blender addon, providing a standalone job submission interface from within Blender.
Addon Core Functionality:
__init__.pyimplementing the Blender addon, including UI panels, operator for job submission, and addon preferences. This file also handles registration, property definitions, and triggers dependency installation on first use.Submission.pyto encapsulate the logic for building and submitting render jobs to OpenCue using the PyOutline API, including command construction and layer setup.Dependency Management:
Setup.pyto manage installation of required Python dependencies into Blender's environment, handling cross-platform Python executable discovery and pip installation.requirements.txtspecifying all necessary Python packages for the addon to function, including OpenCue and supporting libraries.Documentation:
README.mddescribing the purpose, structure, and contents of the OpenCue Blender addon directory.Assisted-by: VSCode Copilot / Gemini 3.1 Pro