How to move lines to normal direction


sorry for the too simple question.
i want to move the polygon to the normal direction from the surface.
i set the evaluate surface to get the normal vector. but i dont know how to specify the distance( in this case 0.1) to move the generated polygon.

Thanks, Keisuke

In these kinds of situations, it’s better to attach your grasshopper file.

but I guess you can connect the normal output to the unit vector component and then multiply it using a multiply component and number slider.

1 Like

2 Likes

Dear HosseinGsd and Ftzuk
Thank you for the quick response!
i tried all of them but i cant see any movement. so i think the problem is Evaluate Surface doesnt have any connection with point.
Is there another component to get the normal vector from the surface?
residence vilamoura.gh (12.0 KB)

Best, Keisuke

You didn’t internalize your base surface which is a common mistake for beginners when posting files on the forum, so I use an arbitrary surface…See the purple group.


residence vilamoura_re.gh (15.0 KB)

1 Like

Yes! Your surface is planar and the normal vector should be the same but the evaluate surface component is for all kinds of surfaces. So imagine if the surface is not planar, the normal vector is different at any point of the non-planar surface. So generally you must specify the specific point from the surface that you want to evaluate for a normal vector. and the â—–Point input of the evaluate surface component is for that point.

If your surface is planar you can use any point from the surface, like for example the centroid using Centroidâ—— output of the area component.

1 Like


sphere fly.gh (28.3 KB)

2 Likes

Dear everyone thank you for the quick teaching about the theory and actual data. I tried everything and is working well.
And sorry for the simple mistake. i will force myself to not to happen that again!
Best, Keisuke

1 Like

don’t be sorry! take it easy with yourself. These are all part of the learning process.