blender/doc
Alexander Gavrilov 36c6bcca1a Python API: expose the math mapping vertex positions to B-Bone segments.
Recently a user expressed interest in exporting baked animation
with B-Bone segments. Currently the python API already exposes
segment matrices via a PoseBone method, but there is no access
to the mapping of vertices to the segments.

Although currently the math is simple and easy to re-implement,
forcing Python add-ons to do that would cause a maintenance issue
if the mapping is ever changed later (it's quite dumb, ignoring
the rest pose curve, and there definitely is room for improvement).

This patch extracts the relevant math into a BKE function, and
exposes it in the python API as a new PoseBone method.

Pull Request: https://projects.blender.org/blender/blender/pulls/105419
2023-08-03 14:44:39 +02:00
..
blender_file_format License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
doxygen License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
guides Spelling fixes in comments and descriptions, patch by luzpaz 2019-07-31 14:27:35 +02:00
license Docs: add license text file for LGPL2.1 2022-03-18 10:27:01 +11:00
manpage License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
python_api Python API: expose the math mapping vertex positions to B-Bone segments. 2023-08-03 14:44:39 +02:00