# Straighten edges not on axis

I have some edges that are not on the x, y or z axis. What is a simple way to straighten them? For example, I can scale and then use Shift+Z to straighten on the x and y axis.

Any shortcuts other than temporarily rotating the entire object to put the edges on an axis?

• Can you post a snapshot of the 3D view with transform panel open? – Denis Apr 3 '15 at 20:28
• Probably select adjacent vertices that need to be along X axis (for example) and hit S > X > 0? – Mr Zak Apr 3 '15 at 20:40
• use Smooth_Vertex – Chebhou Apr 3 '15 at 20:44
• I tried smotth vertex :( strange results. Here is artifical sample dropbox.com/s/74y908d5rdg36n2/screen.jpg?dl=0 Normally if the edge was aligned to axis I would do as Mr Zak suggested – Vince Herried Apr 3 '15 at 22:08

This is one way to align verities (or straighten edges ) according to two of them (without moving these two ) :

• select these two points (in this case the ends )
• create an edge between them
• set the manipulator to Normal
• set the pivot to Active Element
• set selection to Edge
• select all where the created edge is the active one
• hit S then Shift+Y and again Shift+Y, after that type 0 and hit Enter
• delete the edge you created

As an addition to the Chebhou answer, I will post a hint to get this problem resolved.

1. Select two vertices, which are in the ending of the edge you'd like to straighten. Hit F and create edge.

1. Subdivide this created edge several times, so it to have the same quantity of vertices as you'd like to straighten (in your case 7).

1. Select one vertice from those you'd like to straighten, then one from the created edge and hit Alt+M - > At Last.

1. Repeat that for every vertice you'd like to straighten.

As an addition to method with the subdivided edge, it is also a nice idea to use vertex snapping to slide verts on this edge to match original ones.

Also there is an addon, shipped with blender - Loop Tools. It has a nice tool - Flatten.

1. Enable LoopTools Addon (it comes with Blender)

2. Select edges to straighten

1. Press W, select LoopTools and Gstretch

1. Play with Gstretch settings

You don't have to create a surplus edge, only a custom orientation.

To straighten to a line:

1. Set pivot to 'Active Element'

2. Select 2 vertices to define the line

3. Hit CtrlAltSpace to create a custom orientation ( I do this a lot, so I also check 'Use after creation' and 'Overwrite previous' in the tool region)

4. Select all the vertices you would like to lie on the line, ensuring one of your defining vertices is active after selection

5. Hit S, and holding Shift, Y Y, and then 0.

To flatten to a plane:

1. Set pivot to 'Active Element'

2. Select 3 vertices to define the plane

3. Hit CtrlAltSpace

4. Select all the vertices you would like to lie in the plane, ensuring one of your defining vertices is active after selection

5. Hit S, Z Z, and then 0.