3
GitHub - gd3kr/BlenderGPT: Use commands in English to control Blender with OpenA...
source link: https://github.com/gd3kr/BlenderGPT
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
BlenderGPT
This extension allows you to use Blender with natural language commands using OpenAI's GPT-4
Features
- Generate Blender Python code from natural language commands
- Integrated with Blender's UI for easy usage
- Supports Blender version 3.0.0 and above
Installation
- Clone this repository by clicking
Code > Download ZIP
on GitHub - Open Blender, go to
Edit > Preferences > Add-ons > Install
- Select the downloaded ZIP file and click
Install Add-on
- Enable the add-on by checking the checkbox next to
GPT-4 Blender Assistant
- Paste your OpenAI API key in the Addon preferences menu.
- To view the code generations in realtime, go to
Window > Toggle System Console
Usage
- In the 3D View, open the sidebar (press
N
if not visible) and locate theGPT-4 Assistant
tab - Type a natural language command in the input field, e.g., "create a cube at the origin"
- Click the
Execute
button to generate and execute the Blender Python code
Requirements
- Blender 3.0.0 or later
- OpenAI API key
Demonstration
Limitations
- The generated code might not always be correct. In that case, run it again lmao.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK