BlenderGPT
BlenderGPT copied to clipboard
Use commands in English to control Blender with OpenAI's GPT-4
At present, when inputting "create a cat", the GPT3.5 would output something like this:  I know this weird output is not due to this extension. I just want to...
Read prefs: C:\Users\Lucas\AppData\Roaming\Blender Foundation\Blender\3.4\config\userpref.blend reloading addon: BlenderGPT-main 1679702816.4737766 1679703196.22019 'C:\\Users\\Lucas\\AppData\\Roaming\\Blender Foundation\\Blender\\3.4\\scripts\\addons\\BlenderGPT-main\\__init__.py' Modules Installed () from 'D:\\BlenderGPT-main.zip' into 'C:\\Users\\Lucas\\AppData\\Roaming\\Blender Foundation\\Blender\\3.4\\scripts\\addons' Warning: 1 x Draw window and swap: 6.9263 ms, average: 6.92630000...

implemenation -> implementation
This line seems to straight execute python code that comes from the LLM. https://github.com/gd3kr/BlenderGPT/blob/990068512ed9ee0c37091a3295157724e5a0dd13/__init__.py#L254 What if any assurance exists that the code cannot possibly contain malware that could damage the...
Blender 3.4 ``` Python: Traceback (most recent call last): File "C:\Users\brech\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\__init__.py", line 227, in execute openai.api_key = get_api_key(context) File "C:\Users\brech\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\__init__.py", line 58, in get_api_key addon_prefs = preferences.addons[__name__].preferences KeyError:...
Blender 3.4 ``` Python: Traceback (most recent call last): File "C:\Users\brech\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\__init__.py", line 227, in execute openai.api_key = get_api_key(context) File "C:\Users\brech\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\BlenderGPT-main\__init__.py", line 58, in get_api_key addon_prefs = preferences.addons[__name__].preferences KeyError:...
I'm getting this error when I attempt. `Python: Traceback (most recent call last): File "/Users/codybrown/Library/Application Support/Blender/3.4/scripts/addons/BlenderGPT-main/__init__.py", line 91, in generate_blender_code response = openai.ChatCompletion.create( File "/Users/codybrown/Library/Application Support/Blender/3.4/scripts/addons/BlenderGPT-main/lib/openai/api_resources/chat_completion.py", line 25, in create...