2
$\begingroup$

I have a Point Cloud (with 20 Points). In this Point Cloud I connected two vertices (in Edit mode) with one edge. Now I would like to align/rotate that edge (and the Point Cloud with it) to one axis (e.g. y-axis). So this edge would need to be exactly on the y-axis (no rotation). I can zero out one vertice of this edge to the the origin. But I struggle to understand how I could bring the second vertice onto the y-axis. Any help would be great.

Update: I would need the edge to be parallel to the y-axis.

This looks promising:

http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/Precise_Align

This is what I would like to achive

$\endgroup$
  • $\begingroup$ Do you mean that when you move that vertex the entire point cloud follows? Does the edge between the two vertices need to be same length or do you simply want to move the vertex along the shortest path from where it is onto the specified axis? Is it a one-time transform or does it need to be animated? $\endgroup$ – user7952 Mar 16 '15 at 16:50
  • $\begingroup$ That addon indeed looks promising. If it does work, post it as an answer. Otherwise, I can do the math to align the edge with one axis (but I don't believe I can do the python to apply that math within Blender). And if one vertex of the edge is at the global origin, making the edge parallel to a global axis will also, by necessity, make it actually on that axis. $\endgroup$ – user7952 Mar 16 '15 at 21:42
1
$\begingroup$

I wrote an addon, Mesh Align Plus, for strange situations just like this! In GIF form:

Aligning a point cloud

You can connect two of the points to form an edge if you like, it doesn't matter. You can also just move the point data (the mesh) by itself if you want to leave the object origin where it is. Check the demo video on the wiki (or ask here and I can include info for that).

$\endgroup$
  • $\begingroup$ Cool, thanks for the effort ! Will try it. This post was over a year old, i will accept it with your reply. $\endgroup$ – digit Aug 8 '16 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.