font3d_blender_addon/README.md

50 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-11-15 20:35:19 +01:00
```
_ ____ ____ _____ ____
/ \ | __ ) / ___|___ /| _ \
/ _ \ | _ \| | |_ \| | | |
/ ___ \| |_) | |___ ___) | |_| |
/_/ \_\____/ \____|____/|____/
```
Convenience tool to work with 3D typography in Blender and Cinema4D.
The readme is at the moment for development only. Install as you would normally install an addon.
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"