Skip to content

mipmip/vim-run-in-blender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-run-in-blender

If you use Python and pby in Blender to develop addon's and like to use Vim as script editor.

Requirements

You need Blender of course. https://www.blender.org

In Blender install the add-on bpy_externall, activate it and start the listener See https://github.com/zeffii/bpy_externall. You might want to use a blender bootstrap script

For now you need a posix machine e.g. OSX or Linux.

Installation

See https://github.com/zeffii/bpy_externall for instructions how to install bpy_externall.

Use your plugin manager of choice.

  • Pathogen
    • git clone https://github.com/mipmip/vim-run-in-blender ~/.vim/bundle/vim-run-in-blender
  • Vundle
    • Add Bundle 'https://github.com/mipmip/vim-run-in-blender' to .vimrc
    • Run :BundleInstall
  • NeoBundle
    • Add NeoBundle 'https://github.com/mipmip/vim-run-in-blender' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug
    • Add Plug 'https://github.com/mipmip/vim-run-in-blender' to .vimrc
    • Run :PlugInstall

Usage

Map the functions below.

:RunInBlender to run the complete buffer contents in Blender.

:'<,'>RunSelectionInBlender to run the current visual selection

TODO

  • testing
  • improve output

About

Execute python scripts in Blender without leaving Vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published