algorithmic modeling for Rhino
Hi David,
Projection of a vector onto a plane does not seem to be working correctly in some cases - see attached file. The result of the vector projection is not in the plane which it is being projected onto. It seems to work correctly when I create the plane / vector inside GH - not sure why.
Cheers,
Luke
Tags:
The Project Component is basically flattening the object on to your chosen plane in the direction of the Normal of the Plane. The Vector you are projecting is being converted into a point before flattening.
If you want to intersect the plane along the line of the vector you could use the line|plane intersection component
Thanks Danny - yes, that's what I saw was happening, and so I projected a line instead of a vector and then converted that line into a vector to get what I needed.
I guess what I was getting at is that if the project command works as per its literal interpretation it should be returning a vector in the plane, with length equal to the scalar projection of the vector onto the plane. Anyway, very easy to do using lines instead - just thought I'd point it out.
Cheers
I don't think the Vector is being treated as a valid type to be projected. That's why its being converted to a point.
Indeed, a Vector is not technically a piece of geometry, and the Project component only operates on geometry. Maybe I should let it operate on all data types, special case vectors and then display an error if the provided data is neither a vector nor geometry.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by