the Addon of Cutout Animation Tools for Blender, which allows you to create cutout animations in Blender.
COA Tools 2 is an add-on developed by ndee89 and modified/remade by Aodaruma, which enables 2D rigging and animation within Blender.
The original COA Tools by ndee89 provided a rapid workflow for creating 2D cutout characters/animations in Blender. With COA Tools 2, the goal is to support Blender 3.4 and above, introduce automatic mesh generation, and establish a workflow with minimal features, allowing direct editing without going through proprietary modes.
Currently, the focus for development is on two aspects:
- Photoshop sprite exporter
- Blender add-on
The intention is to concentrate on these areas, specifically addressing the necessary improvements.
Since development is a time and resource-intensive process, it's not easy to being solely undertaken by me. However, if there are multiple developers willing to contribute and if the project necessitates scalability, I am considering inviting collaborators to join :)
You can download coa_tools2 from these sources:
- releases page (stable)
- master branch zip (unstable)
- develop branch zip (very unstable; new feature included)
- Download exporter from releases page or master branch zip and unzip it.
- Copy
Photoshop/BlenderExporter.jsx
to the Photoshop scripts folder.- Windows:
C:\Program Files\Adobe\Adobe Photoshop CC 20XX\Presets\Scripts
- MacOS:
/Applications/Adobe Photoshop CC 20XX/Presets/Scripts
- Windows:
- Open Photoshop and psd file you want to export.
- Run the script from
File -> Scripts -> BlenderExporter.jsx
to export sprites
Referenced from here
- Download exporter from releases page or master branch zip and unzip it.
- Open GIMP and go to
Edit -> Preferences -> Folders -> Plugins
to find the plugin folder. - Copy
GIMP/coatools_exporter.py
to the GIMP plugin folder. - Restart GIMP.
- Open GIMP and xcf file you want to export.
- Run the script from
File -> Export to CoaTools...
to export sprites
- Download exporter from releases page or master branch zip and unzip it.
- if you downloaded from master branch, zip
/coa_tools2
folder after unzip master branch zip.
- if you downloaded from master branch, zip
- Open Blender and go to
Edit -> Preferences -> Add-ons -> Install...
- Select
coa_tools2.zip
and clickInstall Add-on from File...
to install. - Enable
COA Tools 2
add-on. - Once the add-on is activated, go to
View -> Sidebar -> COA Tools 2
to open the COA Tools 2 panel.
Referenced from here
- Download plugins from releases page or master branch zip and unzip it.
- Copy all content from the
/Krita
directory into these directories:- Windows:
%APPDATA%\krita\pykrita
- Linux:
$HOME/.local/share/krita/pykrita
- MacOS:
$HOME/Library/Application Support/krita/pykrita
- Windows:
- Open Krita.
- Go to
Settings
->Configure Krita
. - Access the
Python Plugin Manager
. - Enable the
COA Tools Exporter
plugin. - Once the plugin is activated, go to
Settings
->Dockers
. - Enable the
COA Tools Exporter
docker.
To use the plugin select all the layers that should be exported, select export path, export name and press Export Selected Sprites button.
The source code for development is in the main branch. coa_tools2
folder is a main body of the add-on. For efficient development, you can create a link to that folder in the Blender addons
folder.
# Linux
LATEST_BLENDER_DIR=$(find "$HOME/.config/blender" -d 1 | grep -e "[0-9]\.[0-9]" | sort -rh | head -n 1)
ln -s "$PWD/coa_tools2" "$LATEST_BLENDER_DIR/scripts/addons/coa_tools2"
# macOS
LATEST_BLENDER_DIR=$(find "$HOME/Library/Application Support/Blender" -d 1 | grep -e "[0-9]\.[0-9]" | sort -rh | head -n 1)
ln -s "$PWD/coa_tools2" "$LATEST_BLENDER_DIR/scripts/addons/coa_tools2"
# Windows PowerShell
$LatestBlenderDir = (Get-ChildItem "$env:APPDATA\Blender Foundation\Blender" -Directory | Where-Object { $_.Name -match "[0-9]\.[0-9]" } | Sort-Object -Descending | Select-Object -First 1).FullName
New-Item -ItemType Junction -Path "$LatestBlenderDir\scripts\addons\coa_tools2" -Value "$(Get-Location)\coa_tools2"
I'm using pipenv for dependency management. You can install the dependencies with pipenv sync
if you have already installed pipenv.
Some extensions of vscode are recommended for development and written in .vscode/extensions.json
. Feel free to use them.