1
$\begingroup$

I have a complex mesh. I need rotate mesh along some axis (x,y,z never mind) to line-up 2 points of this mesh. I don't need align points (S,Z,0), i need align mesh. Of course i can move pivot to vertex 1 and visually rotate until vertex 2 will be on my desired axe. But i want to keep original pivot and precisely rotate mesh. See the picture.

enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ Just to make sure I understand the question and to use Blender's terminology: You want to rotate an object in object mode, not in edit mode. You want to rotate the object, but not around its object center (what you call "pivot") but around one of its vertices. Correct? Did you try to use the 3D cursor as a rotation center? Why do you want that, what is your real goal? The question sounds like an XY problem. $\endgroup$
    – TeeTrinker
    Commented Apr 19, 2020 at 17:10
  • 1
    $\begingroup$ I try to orient head 3D scan, received from photogrammetry software with random rotation to standart FrontLeftTop position for further editing. Scan of course not symmetrical. Scan contains 600k verticles, and i CAN find verticles, which must be i.e. on Y-axis. (tip of nose and back of the head). So i want to rotate scan. I cannot change pivot point because further editing in photogrammetry software demands unchanged pivot. $\endgroup$
    – Evgeny
    Commented Apr 19, 2020 at 17:31
  • $\begingroup$ Oh I see, that makes sense! Please edit your question and add that information, because this is really important to know. $\endgroup$
    – TeeTrinker
    Commented Apr 19, 2020 at 19:49

3 Answers 3

3
$\begingroup$

TeeTrinker is right: have you tried using the 3D cursor as the "Transform Pivot Point"? Snapping to other geometry does not work in this mode, so if you need absolute precision, I would recommend an add-on like Mesh Align Plus. It has many alignment options, but the one you are looking for in it is "Quick Align Lines". Keep in mind there are far more advanced options that may save you time later on.

Using Mesh Align Plus add-on, here's what I did to achieve the rotation you described:

  • Create a new plane mesh object with a side aligned to the final upright green line orientation you showed in your image.
  • Select this new plane, entered Edit Mode, select the edge representing the green line, Mesh Align Plus>Quick Align Lines>Grab Destination. Exit Edit Mode.
  • Select your plane you want to rotate. Enter Edit mode. Select vertex 1 and vertex 2 like you show in your picture. Exit Edit Mode. Mesh Align Plus>Quick Align Lines>Apply to: "Object".
$\endgroup$
1
$\begingroup$

One simple solution is to create an empty and parent the object to it. Then rotate the empty any way you like. You can easily get the original rotation back by resetting the rotation of the empty.

You can go a tiny bit more complicated by using a Copy Rotation Constraint.

  1. Create an empty.
  2. Create a Copy Rotation Constraint on the object to the empty.
  3. Rotate the empty. Now you can easily switch the constraint on and off, which might be useful for exporting the model to your 3d scanning software for further processing.
$\endgroup$
1
  • $\begingroup$ I think this would work well if aligning view to selected edge / face with Shift+NumPad1, 3, or 7 and adding an empty with F9 options Align: View. Then make the Empty the parent of the object you want to rotate. Then, select the Empty and Alt+R to clear rotation of it so your object is aligned to World XYZ, OR snap align the Empty to another object etc. $\endgroup$ Commented Apr 19, 2020 at 22:53
0
$\begingroup$

To do this perfectly precisely (which is rarely necessary, eyeballing the two verts to align in and ortho view is almost always good enough):

In edit mode, select the two vertices. If one does not already exist, create an edge between them ('f' for me.) Create a custom orientation (ctrl alt space for me.) Delete any edge you've created. If you're worried about your original geometry, you can duplicate these verts to a new object and work there instead.

You now have a custom orientation where the Y axis corresponds to the line between those two vertices. You can rotate and constrain to Y ('r', 'y', move mouse, 'enter' confirm) to rotate in this axis.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .