9
$\begingroup$

enter image description here

I would like to emulate a similar feature in softwares like Autodesk CAD, Sketchup, Rhino.

I'm using blender v2.81a and I want to rotate an object by referencing two points. Like in the picture, I would like to rotate the box on the left by cliking one of its vertices (p1) and then clicking a vertex of another object(p2) to perfectly align the edges of the two objects.

$\endgroup$
10
$\begingroup$
  1. Put the 3D cursor where you want the pivot of your rotation to be. This is easiest to do if you already have a vertex there, which in your case you do. go into edit mode, select the desired vertex, SHIFT + S, then 'Cursor to Selected' or 'Cursor to Active'.

  2. Set your pivot point to 3D cursor. This can be done with . or in the UI.

  3. Set your snap settings to the following. The important parts are Snap to Vertex, Snap with Active, and Affect Rotate in your case. Make sure snap is turned on.

enter image description here

  1. Go into edit mode of the plane you want to rotate. Select everything by hitting A. Deselect and then reselect your 'active' vertex, which is the part you want to align.

  2. Hit R to rotate. The plane should rotate so that a line from the 3D cursor (pivot point) through the active vertex now points to the vertex closest to your mouse cursor.

enter image description here

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ Thank you so much!!! So fast! with a gif! You are the savior of the day. Blender really should make this simpler though. $\endgroup$ – grasshoppertrainer Jan 28 at 6:22
  • 1
    $\begingroup$ I know a rework of the snap system is on a list for 'eventually'. I think it's a pretty powerful feature, but you do have to know all the little settings to get exactly what you want. There's some stuff that is basically useless though, like snap to edge. $\endgroup$ – Rekov Jan 28 at 6:34
  • $\begingroup$ Hmm. Can this method applied with empty? After trying for an hour I think not. $\endgroup$ – grasshoppertrainer Jan 28 at 8:27
  • $\begingroup$ @Rekov Wow. So nice to see that the snap system actually works. I learned a lot here :). $\endgroup$ – Jachym Michal Jan 28 at 12:20

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.