SculptAnimLogic

class source.Sculpt_anim.logic.SculptAnimLogic(*args: Any, **kwargs: Any)

Sculpt anim tool Logic

Functions

SculptAnimLogic.create_skin_temp()

Create a duplicate of the mesh without PSD deformer

SculptAnimLogic.create_target()

create blendshape/target

SculptAnimLogic.create_temp()

Create a duplicate of the mesh with all his deformer

SculptAnimLogic.cursor_on_mesh()

Emit a signal if a click happen on a mesh .

SculptAnimLogic.delete_all_target()

Delete all node created for given mesh

SculptAnimLogic.delete_current_target()

Delete target on current frame

SculptAnimLogic.delta_vertex_pos(zero_out, …)

return the delta position of the deformed object and the base pos

SculptAnimLogic.edit_mesh()

Enable sculpt mode

SculptAnimLogic.get_next_key()

give closest next keyframe

SculptAnimLogic.get_previous_key()

give closest preceding keyframe

SculptAnimLogic.get_target_keys()

return all key on which there’s a key

SculptAnimLogic.get_vertex_pos(object)

return position of all vertex of given mesh

SculptAnimLogic.is_key()

Check if there’s a target on the current frame

SculptAnimLogic.key_blendshape()

Key Blendshapes

SculptAnimLogic.leave_edit_mesh()

Disable sculpt mode and update BS vertex position

SculptAnimLogic.mesh_init(mesh)

AI is creating summary for mesh_init

SculptAnimLogic.move_vertex(mesh, pointList)

move vertex of given mesh to new position

SculptAnimLogic.quit()

set overide to default

SculptAnimLogic.reset_shape()

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

SculptAnimLogic.tweener_pos_update()

Return value according to how close we are from the next target

SculptAnimLogic.tweener_previs(…)

Change target value according to tweener value

SculptAnimLogic.twenner_init()

initialize the tweener