Skip to content

kolumdium/blender-python-path-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blender-python-path-render

Setting up blender-python

  1. Install blender
  2. Install python version fitting your blender version
  3. create a new venv with specific version and install the requirements

Note: To Download a graph with osmnx you either need to install osmnx in the venv, which I do not recommend. Or install another python (anaconda) environment with which you first run the download script and then run the blender script as in 7.

py -3.11 -m venv blender-python
source blender-python/bin/activate
pip install pandas
  1. Install https://github.com/nutti/fake-bpy-module into the venv as well. (You can use a secondary venv for vs-code and just install it there)
  2. Install https://github.com/JacquesLucke/blender_vscode in vscode.
  3. Scripts that you want to launch in blender need to know about the venv you set up earlier.
import sys
sys.path.insert(0, "C:\\path\\to\\blender-python\\lib\\site-packages\\")
  1. Launch Scripts with VSCode Ctrl + Shift + P Blender: Start, Ctrl + Shift + P Blender: RunScript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages