All Questions
Tagged with scripting shape-keys
45
questions
-1
votes
0
answers
23
views
Script for importing an OBJ file as Shape key for blender 4.1
I have blender version 4.1
I’m trying to adapt the script for my version
...
0
votes
0
answers
29
views
"phantom" KEkey.001 block stuck on object
I have a script for retargeting shape key drivers, but when I use it and then copy/paste it, I get this error:
Shapekey KEKey.001 has an invalid 'from' pointer (0000000000000000), it will be deleted
...
0
votes
0
answers
55
views
How to get Shape Key box working in Pose Mode
Back again with another add-on in development. The add-on that I am currently working on is a Viewport Sidebar version of the Properties Editor, with various improvements that are just not possible ...
1
vote
0
answers
55
views
Add Input variable on driver shapekeys with python
I try to transfert a facial animation using shapekeys from one model to my target model using Rigify rig and drivers facial animation.
It works to do it by hand with this technique :
I copy as new ...
1
vote
1
answer
117
views
Shape keys cloth simulation - GLB file size
I'm using Blender to export GLB animation files for Web use. These animations are cloth simulations that are then transformed into shape keys by exporting an .fbx and .mdd file then imported back into ...
0
votes
0
answers
28
views
Problem with applying "Join as Shapekeys" by script with selecting them by row.prop
I'm new in scripting, and I really hope someone of you guys will help me find an answer for my question.
In the script, I'm trying to apply the "Join as Shapekeys" operator to an object, ...
1
vote
0
answers
127
views
How to copy shape key keyframes between meshes with mismatching vertex counts?
I have four meshes with shape keys. Two cubes and two spheres. Across all meshes, the shape key names are identical and transform the meshes in similar ways. The shape keys on the first cube and the ...
1
vote
1
answer
171
views
Copying shape key animations from one object to another (python)
I have two objects with identical topology and shape keys. Copying over the static shape key values is simple enough.
...
1
vote
1
answer
26
views
Is there a way to automatically discard shapekey "offsets" for individual verts, based on their difference to basis?
I know this is the sorta thing you'd usually code up with a simple script, but I'm absolutely python illiterate.
As far as I understand, shapekeys internally store their offset to basis when they're ...
-1
votes
2
answers
140
views
Fit new value range of driver to 0-1 [closed]
I'm making a new facial rig and I'm using the x location value as a driver for the shape key.
I want to fit my x value in the driver between 0-1, does anyone have any suggestions.
0
votes
1
answer
140
views
Change driver target
I have mesh with shapekeys and drivers on said shapekeys which are controlled with armature bones. All shapekeys are set to scripted expression and single prop which is set to said armature.
I'm ...
0
votes
1
answer
91
views
Different behavior of bpy.ops.object.shape_key_transfer() different inside blender python console and outside independent python script
Greetings to our awesome community.
I'm having one doubt in my python script that copy all the shapekeys from source mesh to destination mesh.
The below script is working perfectly when running inside ...
1
vote
1
answer
42
views
Copying drivers and transform_space attribute
I am trying to copy shape keys drivers from one mesh to another.
For some reason when I copy over the variables attributes the transform_space attribute doesn't change.
I am printing the attribute ...
0
votes
1
answer
770
views
Blender Python: display dropdown enum using bpy.context.active_object.data.shape_keys.key_blocks.items()
My Goal is to have 4 dropdown lists of shapekeys in a 3D view panel, allow the user to select 1 shapekey in each dropdown, and then reference those user-selected shapekeys in scripting that modifies ...
2
votes
1
answer
463
views
Shape Key: Delete Specific Driver
I'm trying to delete the driver of specific shape keys. I have used the code below, which deletes a shape key, using key_idx to select an entry key from the list.
<...