Buddycode Gpt: Blender Copilot - Powerful Coding Companion
Installation
1. *Download the Add-on Script: Obtain the add-on script from the source or repository.
2. Install the Add-on:
- Launch Blender and navigate to `Edit > Preferences > Add-ons`.
- Click on the "Install..." button.
- Locate the downloaded add-on script and select it.
- Once installed, ensure the add-on is enabled by checking the checkbox next to its name.
Usage
Accessing BuddyCode Features
1. Open the Text Editor :
- In Blender's interface, locate the Text Editor workspace.
2. BuddyCode Panel:
- Within the Text Editor, you'll find a panel labeled "Buddy Code" located under the "BudyGPT" category.
Getting Completion Suggestions
1.Input Text:
- Enter your code or text into the input field labeled "Input Text" within the BuddyCode panel.
2. Fetching Suggestions:
- Click the "Get Completion Suggestions" button to retrieve completion suggestions based on your input.
3. View Suggestions:
- The completion suggestions will appear in the output area labeled "Completion Suggestions" within the BuddyCode panel.
4. Copying Suggestions:
- Optionally, you can copy the output text to the clipboard by clicking the "Copy Output Text to Clipboard" button.
Managing Files and Folders
1. Folder Path:
- Navigate to the folder path section to specify the directory for file operations.
2. Creating New Files and Folders:
- Use the provided options to create new folders and Python files within the specified directory.
3. Renaming and Deleting:
- Rename or delete existing folders directly from the BuddyCode panel.
4. Loading and Saving Files:
- Load existing Python files into the Text Editor or save the current text buffer as a Python file.
Preferences
1. Endpoint URL:
- Set the URL for the completion suggestions endpoint.
2. Server Type and Model Type:
- Choose the server and model type for obtaining completion suggestions.
3. Enable Vision:
- Toggle image vision processing on or off.
4. Image Path and CSV Path:
- Specify paths for image files and CSV files if needed.
5. Get Completions directly on Text Editor
Press Ctr + P to generate queries and receive answers directly in the text editor
Additional Notes
- This add-on is still under development, and certain features may be subject to limitations or bugs.
- For advanced users, additional settings and functionalities are available through the preferences panel.
Installation Issues:
If you are facing a problem shown below for any module issue:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable
mod = importlib.import_module(module_name)
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\matth\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BuddyCode.py", line 10, in
from langchain_community.llms import ollama
ModuleNotFoundError: No module named 'langchain_community'
USE CHECK OUT THIS Youtube link:
https://www.youtube.com/watch?v=DSRha-8Zk8w&ab_channel=CGFigures
By CGFigures. I have use his codebase,tricks have also added it inside my own code for your convenience to solve this problem and it does solve it for me.
This is not a addon issue it how the packages are getting installed.
- Step 1: Locate the AppData file in your "C" drive or where you have your programs installed.
- Step 2: Find the site-packages folder
- Step 3: check the blender console to check where the files are being downloaded.
- Step 4: Copy all related module folders and paste them inside the site-packages folder.
For more INFO on this visit the link above.
Published | 8 months ago |
Blender Version | 4.1, 4.0, 3.6, 3.5, 3.4 |
License | Mit |
Have questions before purchasing?
Contact the Creator with your questions right now.
Login to Message