Houdini: Carve Curve to Length

Out of the box the carve SOP will carve a curve as a percentage or parametric value along the curve’s length. This method will carve to a specified length (with some tolerance).

  • Measure perimeter
  • Promote perimeter to points
  • In a wrangle at this vex: f@_perimpercent = chf(“length”)/f@perimeter;
  • In the carve SOP add this script: 1-point(0, 0, “_perimpercent”, 0)