WIP: Anim: Add python function to keyframe transforms #117177

Draft
Christoph Lendenfeld wants to merge 4 commits from ChrisLend/blender:bpy_keyframe_transforms into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

This adds two new function to the Python API for Objects and Bones to quickly keyframe transforms.

One uses the users keyframe settings
and the other has defaults but allows passing all settings into the function.

This adds two new function to the Python API for Objects and Bones to quickly keyframe transforms. One uses the users keyframe settings and the other has defaults but allows passing all settings into the function.
Christoph Lendenfeld added the
Module
Animation & Rigging
label 2024-01-16 17:10:50 +01:00
Christoph Lendenfeld added 2 commits 2024-01-16 17:11:02 +01:00
Christoph Lendenfeld added 2 commits 2024-01-16 18:24:06 +01:00
Member

For context, the module meeting where this was discussed:
https://devtalk.blender.org/t/2024-01-16-animation-rigging-module-meeting/32945

For context, the module meeting where this was discussed: https://devtalk.blender.org/t/2024-01-16-animation-rigging-module-meeting/32945
Nathan Vegdahl reviewed 2024-02-08 11:44:24 +01:00
@ -1326,0 +1335,4 @@
const bool do_location,
const bool do_rotation,
const bool do_scale,
const char *key_type)
Member

I realize this is still WIP, so if this is too soon feel free to ignore.

But in addition to the key (handle) type, it might also make sense to include things like visual keying and cycle-aware keying as parameters here.

I realize this is still WIP, so if this is too soon feel free to ignore. But in addition to the key (handle) type, it might also make sense to include things like visual keying and cycle-aware keying as parameters here.
This pull request has changes conflicting with the target branch.
  • source/blender/makesrna/intern/rna_pose.cc

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u bpy_keyframe_transforms:ChrisLend-bpy_keyframe_transforms
git checkout ChrisLend-bpy_keyframe_transforms
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#117177
No description provided.