What exactly are you trying to achieve? You want to decompose the vector into two other perpendicular vectors? like when you want to calculate a diagonal force you decompose it in X and Y forces. You want to decompose it to vectors not oriented to world coordinates? You want to get the magnitude of one vector, divide it by 2, and apply it to two other vectors no matter what the direction of the first vector is? or something else?
If it's the first case it's easy, since vectors in grasshopper (and rhino) are defined by 3 perpendicular components (x,y,z) and not by magnitude and angle, you just need to use the 'decompose vector' component, no need to do any trigonometry. On Dec 30, 6:10 pm, basbasbas <[email protected]> wrote: > Hi, > > I have a vector that I want to divide into two new vectors with known > directions. What is the best way to proceed? > > Cheers, > Bas Goris
