No description
Find a file
themancalledjakob 0320a18002 bpy_to_abspath
2024-11-15 20:17:28 +01:00
common print to stderr 2024-11-15 20:16:59 +01:00
.gitignore add auto_updater 2024-11-05 15:45:50 +01:00
__init__.py cosmetics 2024-11-05 16:01:15 +01:00
_vimrc_local.vim nothing 2024-11-05 16:01:52 +01:00
addon_updater.py add auto_updater 2024-11-05 15:45:50 +01:00
addon_updater_ops.py add auto_updater 2024-11-05 15:45:50 +01:00
bimport.py revamp loading and panels 2024-08-26 18:48:43 +02:00
butils.py bpy_to_abspath 2024-11-15 20:17:28 +01:00
README.md documentation 2024-11-05 15:42:14 +01:00

get bpy python working by:

$HOME/git/tools/blender_git/build_linux_v4.1/bin/4.1/python/bin/python3.11 -m venv venv
source venv/bin/activate
pip install bpy

to install mathutils, this was necessary for me:

sudo xbps-install -Sy python3.11-devel
CFLAGS=$(python3.11-config --cflags) LDFLAGS=$(python3.11-config --ldflags) pip install mathutils

install addon:

cd <root directory>
ln -s $(pwd) $HOME/git/tools/blender_git/build_linux_v4.1/bin/4.1/scripts/addons/abc3d

get blender addon path:

bpy.utils.script_paths()

then check it for the addons directory

addons dir:

~/git/tools/blender_git/build_linux_v4.1/bin/4.1/scripts/addons/

addon data:

~/.config/blender/4.1/datafiles

reload addon in blender:

F3 -> "reload scripts"