Skip to content

VS Code for Blender

TangHui edited this page Jan 3, 2020 · 3 revisions

Download and ready:Visual Studio Code for Blender

  1. download VS Code, python and the Blender Development EXTENSIONS in VS Code.
  2. You can watching this video https://www.youtube.com/watch?v=q06-hER7Y1Q

Blender 2.8 Python Addons with VSCode

python Setting and remember(copy) your python path

set python path or copy path

sorry, my pc language

  1. Right-click 'My Computer'.
  2. Select 'Properties' at the bottom of the Context Menu.
  3. Select 'Advanced system settings'
  4. Click 'Environment Variables...' in the Advanced Tab.
  5. Under 'System Variables': Click Edit.

download ptvsd and flask in cmd

  1. run cmd(Administrator),then input:
  2. python -m pip install --upgrade pip
  3. python -m pip install flask
  4. pip install ptvsd --upgrade
  5. install they Then Lib\site-packages like this

sorry, my language

  1. if you have proxy and download slow like me,you can add --proxy http://IP:port/ :
  2. python -m pip install --upgrade pip --proxy http://127.0.0.1:50000/
  3. The next chapter is vs code setting(my ptvsd not work before, I install new python and also have same problem:always install fail.Final I solve it, it need vscode point to path.)

sorry, my language sorry, my language sorry, my language

VSCODE setting

  1. Find Setting(ctrl+,) then serch your python path and ptvsd path:

sorry, my language

  1. paste they:

my ptvsd path:C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\site-packages

my python path:C:\Users\Administrator\AppData\Local\Programs\Python\Python38 sorry, my language sorry, my language

  1. Don't forget download python EXTENSIONS and other:

sorry, my language

  1. Drag your add-on or folder to VS Code,Ctrl shift p to run and setting your blender path:

sorry, my language

5.if no work and can't auto download package in vscode,you maybe download package in cmd again like upper chapter.

sorry, my language

MY EXTENSIONS (Install EXTENSIONS you like and enjoy it):

sorry, my language

Getting started

Tutorials

Examples


Nodes

Component Operators
Constants
Deletion
Flow Control
Inputs
Modifiers
Object Operators
Selection
Settings
Transform
Utilities

Sockets


Clone this wiki locally