font3d_blender_addon/README.md

38 lines
803 B
Markdown
Raw Normal View History

2024-05-08 16:23:29 +02:00
# get bpy python working by:
```bash
$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
```
2024-05-08 16:37:19 +02:00
2024-11-05 15:42:14 +01:00
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
```
2024-05-08 16:37:19 +02:00
# install addon:
```bash
2024-08-14 10:53:36 +02:00
cd <root directory>
2024-08-14 11:26:19 +02:00
ln -s $(pwd) $HOME/git/tools/blender_git/build_linux_v4.1/bin/4.1/scripts/addons/abc3d
2024-05-08 16:37:19 +02:00
```
# get blender addon path:
```python
bpy.utils.script_paths()
```
then check it for the `addons` directory
2024-05-21 18:00:49 +02:00
2024-08-14 10:50:57 +02:00
# addons dir:
```
~/git/tools/blender_git/build_linux_v4.1/bin/4.1/scripts/addons/
```
# addon data:
```
~/.config/blender/4.1/datafiles
```
2024-05-21 18:00:49 +02:00
# reload addon in blender:
F3 -> "reload scripts"