BuddyCode - Elevate Your Blender Coding Experience

0 ratings

Introducing BuddyCode: Elevate Your Blender Coding Experience

Are you tired of juggling multiple tasks while coding in Blender? Say hello to BuddyCode – your ultimate coding companion designed to make your life easier and your workflow smoother.

What Sets BuddyCode Apart:

  1. Seamless Integration: BuddyCode seamlessly integrates into your Blender workflow, providing a user-friendly interface directly within the Text Editor. Say goodbye to constant tab-switching and hello to uninterrupted coding sessions.
  2. Effortless Organization: With BuddyCode, organizing your code files is a breeze. Navigate through your projects effortlessly with the built-in file browser, keeping your scripts tidy and accessible at all times.
  3. Instant Code Generation: Need to create a new Python script? BuddyCode has you covered. Generate new files instantly with just a click, saving you time and hassle.
  4. Smart Code Completion: Boost your productivity with BuddyCode's intelligent code completion. Receive context-aware suggestions powered by advanced AI models, helping you write code faster and more efficiently.
  5. Visual Inspiration: Get inspired with BuddyCode's image processing feature. Incorporate visual cues into your coding process to spark new ideas and innovative solutions.
  6. Effortless Sharing: Share code snippets seamlessly with the built-in clipboard functionality. Copy output text with a single click, streamlining collaboration and enhancing productivity.

LM Studio Integration:

BuddyCode harnesses the power of LM Studio (which is a completely free desktop app) for its advanced AI-driven features. LM Studio provides the underlying AI models required for BuddyCode's intelligent code completion.

Download LM Studio here for free: https://lmstudio.ai/

Running Models Locally:

Enjoy hassle-free AI-powered code completion by running LM Studio models locally on your machine. BuddyCode makes it easy to configure the local endpoint URL provided by LM Studio, ensuring lightning-fast completion suggestions without the need for internet connectivity.

Experience the Difference with BuddyCode:

Unlock the full potential of Blender's Text Editor with BuddyCode by your side. Whether you're a seasoned developer or just starting out, BuddyCode is your go-to tool for smoother, more efficient coding sessions. Try BuddyCode today and take your Blender coding experience to new heights.


Welcome to the BuddyCode Documentation – your gateway to unlocking the full potential of this revolutionary addon. Below, you'll find comprehensive guidance on how to harness the power of BuddyCode and elevate your Blender experience to new heights.

1. Installation:

  • Download the BuddyCode addon file.
  • In Blender, navigate to Edit > Preferences > Add-ons.
  • Click "Install" and select the BuddyCode addon file.
  • Activate the addon by checking the box next to its name.

2. LM Studio Integration:

  • Before using BuddyCode, ensure you have LM Studio installed on your system.
  • LM Studio provides the underlying AI models required for BuddyCode's intelligent code completion features.
  • Download LM Studio here for free: https://lmstudio.ai/

3. Running Models Locally:

  • Enjoy hassle-free AI-powered code completion by running LM Studio models locally on your machine.
  • Simply configure BuddyCode to use the local endpoint URL provided by LM Studio, and experience lightning-fast completion suggestions without the need for internet connectivity.

4. Getting Started:

  • Access the BuddyCode panel in the Blender Text Editor.
  • Explore the intuitive file browser interface to organize and manage your code files effortlessly.
  • Create new Python scripts instantly with the click of a button.
  • Enable intelligent code completion to receive context-aware suggestions tailored to your project.


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.


  • The Output now will appear on the text editor itself.
  • Select the text you would like to add as input and the Press Ctrl + P to generate the output from the LLM.
  • General Coding and UI updates.
  • Integrated Chat History creation and Deletion.
  • Added System prompt ui for finer control .


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.


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.

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 gcdimport

  File "", line 1027, in findand_load

  File "", line 1006, in findand_load_unlocked

  File "", line 688, in loadunlocked

  File "", line 883, in exec_module

  File "", line 241, in callwith_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:


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.

I want this!
26 sales
Copy product URL

BuddyCode - Elevate Your Blender Coding Experience

0 ratings
I want this!