florianvazelle / bone-generator

A blender addon to generate bones for a 3D mesh with the principal component analysis method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bone Generator

Requires blender 2.91

Install

  1. Download this repository as a zip.
  2. Open Blender.
  3. Go to Edit > Preferences > Add-ons.
  4. Click on "install..." an look for either the ".zip".

basic_install

  1. Go to TESTING section
  2. And click on the enable checkbox.

activate_addon

Note

Remember to check that your python executable is the same as blender.

import sys
print(sys.executable)

Write this in Blender Scripting Console and your Python Console.

To install python requirements, I needed to use sudo prefix.

Development

After Installing the addon :

  1. Go to where the addon is installed :
    • Windows : a path that looks like C:\Users\<username>\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons
    • Linux : ~/.config/blender/2.91/scripts/addons
  2. Edit the code.
  3. When you return to Blender, you need to reload the scripts. The easiest is to F3 and search for "Reload scripts".

References

About

A blender addon to generate bones for a 3D mesh with the principal component analysis method


Languages

Language:Python 100.0%