Line or vector projection to plane

vector
grasshopper
grid
unhandled
curves

(Ignass M) #1

Hi, need help creating projections.
I would like to create projections for lines(curves) or vectors

I have a grid created on a surface


New planes on every point

Black lines are from the grid
Blue lines - something I would like to get
c

Final result is not a length of this line, I only need to get a projected direction.
d
I believe it will work for me with lines (curves) and with vectors. Depends on what is easier to make


(David S. Mavrov) #2

Post geometry maybe?


(Ignass M) #3

MojaPana.gh (12.4 KB)
MojaPana.3dm (55.3 KB)


#4

Have a look at the attachment. It requires Sandbox Topology plugin…

MojaPana_re.gh (87.7 KB)


(Ignass M) #5

Exactly what I was looking for !!
Thanks a lot :slight_smile:


(Huskenazy) #6

Hi @HS_Kim
How do I visualize the paths (the name) of each component at the same time? Did you write it for each one or is there a grasshopper setting?
thanks


#7

(Ignass M) #8

Stuck in this project …

My model:
MojaPana_2018 04 10.gh (21.0 KB)
MojaPana.3dm (41.5 KB)

I would like to measure angles between projected vectors and vectors made from curves (image below)


Also this would be great find if the angle is positive or negative


Maybe it is easier just to find the angle between plane normal and vectors
5

Don’t know if it is clear what I want. I have added many many images to explain


#9

Check if this is what you are after…

MojaPana_2018 04 10_re.gh (26.6 KB)


#10

Check this as well.


MojaPana_2018 04 10_reV2.gh (32.7 KB)

And if you might want to see topics on “Node Generation” then, there are some in the old GH forum including bellow…