I've been trying to flatten a set of points, which form a curve in 3D, to a plane, preferably Z = 0.
Here is the screen shot my view:

There are 3 kinds of objects in here:
- Set of meshes {O3M6.L1.000 - O3M6.L1.013}
- Curve drawn (using BTrace -> Objects Connect) connecting the centers of each mesh iteratively. You can find the implementation from the question asked in here.
- The minimum bounding box drawn using the Minimum Bounding Box add-on.
What I want is to align these centers vertically. So, if there is any way I could form a 2D plane approximately (with least away from the centers) passing through the centers, please feel free to answer.
I came across this idea, which may 'sound' easy:
- Considering the rotations (X, Y, Z) of the cube, in the Transform window, mentioned in the above image, we can rotate the Box parallel to the plane Z = 0.
- Note that these rotations could be applied to the Set of mesh we have as a group. Thus, the set of these meshes would be somewhat approximately parallel to Z = 0.
I don't know how to apply rotation parameters of one object to another. Any help is deeply appreciated. Thanks in advance.