On 17/05/2016 at 07:45, xxxxxxxx wrote:
http://4.bp.blogspot.com/\_c0ogUvVkjKw/Sd9S2OXKRZI/AAAAAAAAAFY/5xZr1fHCQ4M/s1600/pen5.jpg
I suppose i should have called it the Object Axis. Regardless, within C4D GUI each object has this axis (in the picture above, that thing on the right). In the case of geometric objects, transformations (position, scale, rotation) happen about this axis.
typically when you have a parent-child hierarchy, the parents axis is independent of the child's and vice versa.
for example, lets say you have a spline object with axis at some (x1,y1,z1). You want to extrude it so it becomes a 3D geometric object, so you create an Extrude NURBS and drag the spline under it. Now you have the spline object's axis at (x1,y1,z1) and that of the Extrude Nurbs object at (0,0,0).
So, in my ObjectData plugin that is created with initial axis at (0,0,0) - just like the extrude nurbs, it works by receiving a poly object with axis at some (x2,y2,z2) and then generating a poly hull based on some methods. In this configuration the ObjectData plugin is the parent, while the poly object is the child.
My intention is the following: once you drag the poly object under the ObjectData plugin, the latter's axis gets aligned to the former. In other words, the ObjectData's axis position gets translated from the (0,0,0) position it got by default to the (x2,y,2,z2) position of the poly object child. Afterwards, any change to the parent's axis position is automatically carried over to the child, and vice versa.
I hope this is clear - it's certainly as clear as i can be.
cheers