2023-03-23 09:23:41 +00:00
# BlenderGPT

2023-03-21 13:51:23 +00:00
2023-03-21 21:29:56 +00:00
< a href = "https://www.buymeacoffee.com/gd3kr" target = "_blank" > < img src = "https://cdn.buymeacoffee.com/buttons/default-orange.png" alt = "Buy Me A Coffee" height = "41" width = "174" > < / a >
This extension allows you to use Blender with natural language commands using OpenAI's GPT-4
2023-03-21 13:51:23 +00:00
## Features
- Generate Blender Python code from natural language commands
- Integrated with Blender's UI for easy usage
2023-03-22 18:32:33 +00:00
- Supports Blender version 3.0.0 and above
2023-03-21 13:51:23 +00:00
## Installation
2023-03-23 06:33:57 +00:00
1. Clone this repository by clicking `Code > Download ZIP` on GitHub
2023-03-21 13:51:23 +00:00
2. Open Blender, go to `Edit > Preferences > Add-ons > Install`
3. Select the downloaded ZIP file and click `Install Add-on`
4. Enable the add-on by checking the checkbox next to `GPT-4 Blender Assistant`
2023-03-22 02:23:03 +00:00
5. Paste your OpenAI API key in the Addon preferences menu.
2023-03-23 03:39:34 +00:00
5. To view the code generations in realtime, go to `Window > Toggle System Console`
2023-03-21 13:51:23 +00:00
## Usage
1. In the 3D View, open the sidebar (press `N` if not visible) and locate the `GPT-4 Assistant` tab
2. Type a natural language command in the input field, e.g., "create a cube at the origin"
3. Click the `Execute` button to generate and execute the Blender Python code
## Requirements
2023-03-22 18:32:33 +00:00
- Blender 3.0.0 or later
- OpenAI API key
2023-03-21 13:51:23 +00:00
2023-03-23 09:23:41 +00:00
## Demonstration
https://user-images.githubusercontent.com/63528145/227158577-d92c6e8d-df21-4461-a69b-9e7cde8c8dcf.mov
2023-03-21 13:51:23 +00:00
## Limitations
2023-03-23 09:23:41 +00:00
- The generated code might not always be correct. In that case, run it again lmao.