algorithmic modeling for Rhino
Hi everybody,
My aim is to derivate vectors in GH.
I wan't to test it with the help of curvature as it is given by Rhino.
The formula for curvature is:
Kn = dt/ds
where
t is the tangent vector
n the normal vector
K the curvature
which I approximate by
Kn(s) ~= (t(s+ds/2) - t(s-ds/2)) / ds
where ds is very small.
I find a vector with the right direction (youpi!), but its way too long (see picture).
Tags:
Nobody knows?
I'm kind of stuck there. What is troubling me, is that the difference in length between the curvature vector I calculate, and the one given by rhino is not constant along the curve.. However, both vectors stay colinear...
Am I missing something obvious? Is this not the way to derivate vectors?
I suspect that the vector in Rhino has been unitized. Divide your vector by its length and see what you get.
Chris
No, that's not it.
Chris
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