World Standart of Parenting

Task: to make the same Parent algorithm as Maya, Modo, 3DMax, C4D, Softimage…

Description of the problem of the existing method


Solution:
Demeter Dzadik (Mets) solved the problem!

“This can be done with a few lines of Python, just slap this in a text editor and try it:”

import bpy
from mathutils import Matrix

act = bpy.context.active_object
# Parent selected objects to active, empty the inverse matrix and preserve the world matrix.
for o in bpy.context.selected_objects:
	if o==act: continue
	mat_world = o.matrix_world.copy()
	o.parent_type = 'OBJECT'
	o.parent = act
	o.matrix_parent_inverse = Matrix.Identity(4)
	o.matrix_world = mat_world

Correct_parent.txt (405 Bytes)

left to make it part of the blender.

2 Likes

Tell me please, where to write so that the developers add it to the blender?