SculptAnimLogic¶
-
class
source.Sculpt_anim.logic.SculptAnimLogic(*args: Any, **kwargs: Any)¶ Sculpt anim tool Logic
Functions
Create a duplicate of the mesh without PSD deformer
create blendshape/target
Create a duplicate of the mesh with all his deformer
Emit a signal if a click happen on a mesh .
Delete all node created for given mesh
Delete target on current frame
SculptAnimLogic.delta_vertex_pos(zero_out, …)return the delta position of the deformed object and the base pos
Enable sculpt mode
give closest next keyframe
give closest preceding keyframe
return all key on which there’s a key
SculptAnimLogic.get_vertex_pos(object)return position of all vertex of given mesh
Check if there’s a target on the current frame
Key Blendshapes
Disable sculpt mode and update BS vertex position
AI is creating summary for mesh_init
SculptAnimLogic.move_vertex(mesh, pointList)move vertex of given mesh to new position
set overide to default
reset pose to default by moving vertex to orig pos
SculptAnimLogic.toggle_target([lock_])Lock or unlock target attributes
SculptAnimLogic.tweener_key(tween_slider_value)key the previsualized tween in target
Return value according to how close we are from the next target
Change target value according to tweener value
initialize the tweener