grasshopper2 Rhinorhino3d.com
ComponentCurve
Curve Curvature
00000000-5148-4896-bbaf-29b99262cbe8

Compute the curvature magnitude and direction at a locus along a curve.

The curvature is represented by a single vector which points in the direction of the osculating circle centre point, but whose length is the inverse of the osculating circle radius. I.e. while low curvature results in a very large osculating circle, here it instead yields a very short vector. When the curvature is non-existent because the underlying curve is locally linear, the curvature vector has no length.

Curvature is a highly scale-dependent phenomenon. When a curve is scaled up or down uniformly, the curvature magnitudes will vary drastically.

Note that the Curvature Graph component can be used to quickly visually inspect the curvature progression along curves.

1
2
3
4
5
6
7
8
Example file CurveCurvature.ghz.Interactive in Grasshopper 2
Sample the curvature along the length of a wobbly curve and assign the magnitude as a colour to each sampled point.