blender/doc/python_api
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
..
examples Python API: expose the math mapping vertex positions to B-Bone segments. 2023-08-03 14:44:39 +02:00
rst Docs: note that renaming data-blocks sorted them which impacts iteration 2023-04-21 20:36:29 +10:00
static Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00
templates Py Docs: Implement version switch to switch between versions on the website 2022-02-03 14:25:26 -05:00
requirements.txt PyDocs: Upgrade Theme to 1.1.0 2022-11-02 22:37:39 -04:00
rst_from_bmesh_opdefines.py Fix: API doc generation for bmesh opdefines 2023-07-27 15:58:29 +02:00
sphinx_changelog_gen.py Cleanup: use set.discard instead of a __contains__ check before remove() 2023-07-02 19:54:27 +10:00
sphinx_doc_gen.py Fix documentation building since recent changes in GPv3 2023-06-26 11:34:54 +02:00
sphinx_doc_gen_monkeypatch.py License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00