I want to create an orthogonal line to multiple vectors in rhino. The five existing lines are part of a geodesic dome. I want the 6th line to be orthogonal to those exiting.
It’s a geodesic dome. So, without offering any technical solution, all these vectors are going to be pointing away from the center of the icosahedron on which the dome is based… Create the underlying icosahedron. Find its center. Work from there.
Do you have an example of what you’re trying to achieve? I think I get it, but:
there are six per “cell”?
I’m just leaving the office, so this might be a little rushed/simple, but if it’s what I think it is; you want a line that’s effectively “outward” from the dome relative to the existing lines, correct? It wouldn’t technically be orthogonal to those lines, but sort of an average, yes?
If the start of your vectors is the center point, and the ends are on the edge of the hexagonal “cell”, could you use those end points to create a planar surface, then find the closest point on that surface to the common vector start point, then evaluate to find the surface normal? domeOrthogonal, for lima04.gh (9.5 KB)
(Pick the 6 lines that make up a hexagonal “cell” for the input curves, and the shared point for the input point)