# Align plane component

Hi,

I find that ‘Align Plane’ can’t align source plane 100% to the vector，why this happens？

“Align Plane” component will rotate your plane around its own Z axis. Z axis will not change, will not move.
If your guide vector is not parallel to the plane, it will not align completely.

1 Like

So While I use z axis as a guided vector , it made me a sense that the plane aligns with z axis as guided vector in my example … With using x axis or y axis as a guided vector, the plane results with making no sense to me… I didn’t understand how align plane worked or gave me the result with x or y axis as guided vector . Does it mean, since the plane only rotates around z axis , it aligns with z axis vector only and it doesnot align x and y axis as guided vector?

I have attached my gh file. Could you kindly see and explain to me :).

align plane.gh (12.5 KB)

I rephrase that.

World space have X, Y, Z axes.
A grasshopper plane have “its own” internal axes, let’s use the U, V, W names.

Green axis is “U” and red axis is “V”.
We can’t see the W axis, but you can imagine it, it’s the third axis of that plane, normal to that plane. (what I meant with “its own Z axis”).

“Align planes” will rotate each plane around its own W axis

until the U (red) axis forms the smallest possible angle with the guide vector.

1 Like

That was a quiet nice demonstration :).

The last part you mentioned rotates until red axis forms the smallest possible angle with guide vector. Do you mean, if there is no angle between red axis and guide vector, then guide vector is parallel to the plane and it aligns perfectly and doesn’t rotate?

And with this demonstration, in this example, it seems like it rotates the same way even if I use anyone of the world x , y or z axis as guide vector Is it correct?