algorithmic modeling for Rhino
Hi everyone!
I have a question about how to generate the summation of 4 vectors, which all start from the same point, in order to get the vector normal of that specific point. Would be great if someone could help.
Tags:
Vectors don't start anywhere, they are merely directions and magnitudes. If you want to compute the average of a set of vectors, then you can use the [Average] component. If your vectors have different magnitudes, then the average will be weighted towards the longer ones, so if you don't want that, you'll need to unitize your vectors first. Adding four vectors together can be done using the [Addition] component (that'll be annoying though as it requires 3 of them). If your vectors are already in a single list, then you can use [Mass Addition] to add them all in one go.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Is it important that you keep each panel a distinct mesh? Because if you join and weld them, you will then be working with one mesh whose vertex normals will be unified and it's really simple to do it. However, if you want to keep each panel as a mesh distinct from one another, you can use "closest points" to identify the index of the nearest points and collect the related normals for summation.
thank u for your reply. I have attached a simplified version of my file to show the exact problem i am having. the surface should remain as one unified mesh...
i tried adifferent approach, but I still can't figure out how to generate the vector summation of 4 neighbouring panels. closest point won't work
Thank u!!
Finally managed to solve my problem with the help of your file!
Thanks! your solution is similar to one I have found and works just as well for what I intend to further do with it. I intend to apply this on my real panalized surface in order to create a on offset of my surface thus using it to generate a specific frame structure.
whats the plug in ptcomponent?
It's paneling tools...some really nice stuff in there
ah yea. "pt" makes sense :)
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
© 2024 Created by Scott Davidson. Powered by