Expose Object.parentinv matrix via RNA #22523

Closed
opened 2010-06-06 19:29:01 +02:00 by Balajee R C · 3 comments

%%%Exposes the parentinv matrix, member of struct Object defined in bf_blenkernel/BKE_object.h via RNA so that it can be accessed using python.

Essential to compute the local matrices for a parent-child hierarchy of objects in the scene. ParentInv matrix is the inverse of the matrix of the parent object at the time of parenting.

Usage in python after patching:

pinv = bpy.data.objects["child_name"].parent_inverse%%%

%%%Exposes the parentinv matrix, member of struct Object defined in bf_blenkernel/BKE_object.h via RNA so that it can be accessed using python. Essential to compute the local matrices for a parent-child hierarchy of objects in the scene. ParentInv matrix is the inverse of the matrix of the parent object at the time of parenting. Usage in python after patching: pinv = bpy.data.objects["child_name"].parent_inverse%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%applied r39424.%%%

%%%applied r39424.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
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-addons#22523
No description provided.