Blender 3D News and Training

How to Align Any 2 Faces

Posted by Aidy Burrows on Jun 18, 2015

In this tutorial you’ll learn:

  • Advanced snapping techniques
  • Aligning 2 faces of any 2 objects
  • Create custom orientations
  • Multiple methods – manually & with addon’s

 

LINKS

More information on the background of the environment being used in the video : Game Dev Series

 

ADDONS

Simple & Fast – Align By Faces

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

More Options & Slightly Longer – Precise Align

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

 


 

So here’s a quick tip and/or trick for advanced orientating of objects so that we can align any face from one object to meet up and match with any face on a second object.

Align 2 faces in blender gif

 

 

STEP ONE

Select the face you want to align up with the other object’s face. Open up the properties sidebar (N) and then scroll down to the bottom find the transform orientations, click the plus icon to create a new transform orientation based on the face selection.

align 2 faces step one

 

 

STEP TWO

Create a new cube (newly created objects are by default already nicely oriented to the world), however we want to rotate it to be in alignment with the custom orientation that we just created.

With the cube selected in object mode go > Object > Transform > Align to Object Transform

 blender tutorial align 2 faces step two

 

STEP THREE

Select the pipe mesh and then shift select the now rotated (aligned to the custom orientation) cube and press Ctrl P to parent the pipe to the cube.

 blender tutorial align 2 faces step three

 

STEP FOUR

Set the rotation values of the parent cube now back to zero. Shortcut is ‘Alt R’.

 blender tutorial align 2 faces step four

 

STEP FIVE

Select the pipe and clear the parent with Alt P, choose to keep the transformation.

 blender tutorial align 2 faces step five

 

STEP SIX

Apply the rotation on the pipe with Ctrl A > Rotation. This will not alter the look of the pipe mesh though it will reset the rotation values to zero making the local orientation of the pipe mesh now manageable on at least one axis.

blender tutorial  align 2 faces step six

before rotation is applied

 

blender tutorial align 2 faces step seven

after rotation is applied

 

 

STEP SEVEN

In the header of the 3d view set the snapping to face, and enable the align rotation button to the right.

07_HeaderBar

 

Then press G to move, and hold ctrl to enable the snapping and move your cursor over the face that you want to snap to.

07bStepWritten

 

 

STEP EIGHT

At this point you can tweak the position. In this case the object is facing the wrong way so I can simply rotate it around 180 degrees on the global z axis by pressing R > Z > 180.

08StepWritten

 

That’s it!

Check the video for more info or hit the comments for more! 🙂 Aidy.

 

ADDITIONAL NOTES :

Also worth a look are these collections of cool addons by 1D_Inc

And check out another cool method of alignment here from the ever awesome Max Puliero.


Related Posts

Comments (5)

avatar
PyroGXPilot
PyroGXPilot

Aidy Burrows

Hi! I like 1D_Inc’s stuff in general, I was thinking of adding this to the text section on this page, it looks quite like precise align at a glance, what do you think of it in comparison?

Aidy.

Anthony Calderone
Anthony Calderone

Neat trick.
Those assets look very familiar for some reason… 😉

The environment is looking great, how’s the game play coming along?

Aidy Burrows

Thanks Anthony! I’ll do some more posts on how i’m getting on with all this very soon! Stay tuned! 😀 Aidy.

Anthony Calderone
Anthony Calderone

Great to hear, looking forward to it.

wpDiscuz