Houdini Resources

Updated on Sept 1  2022


copyright © Deborah R. Fowler

Wrangle Node Examples

Deborah R. Fowler



Wrangle Node Example - Calculate Vectors for Normal on Curve

Posted on Mar 11  2018


Suppose you have a curve and you need to calculate the direction to copy geometry onto this. Polyframe works in some cases, but here is a robust version using point wrangle nodes. The hipnc is provided as well (created in 16.5.268).

Missing image

Take the point and the next point and subtract to get the tangent vector. Note at the end, there is no next point so you have to deal with this by taking the previous point and reversing the vector. Code below.

MISSING IMAGE