Resample Curve Based on Its Lenght

   1374   2   0
User Avatar
Member
76 posts
Joined: 2月 2017
Offline
Hello everyone,

i would like to be able to resample an arbitrary curve based on its lenght. After measuring its perimeter, i tryed to call this attribute from the resample in the ‘maximum segments’ parameter but it doen't pick it up. What am I doing wrong?

Many Thanks

Frankie

Attachments:
Resample_Problem.hip (287.3 KB)

User Avatar
Member
192 posts
Joined: 11月 2008
Offline
howdy frankie. if you replace @perimeter with a ‘prim’ expression, you can get the result you want.

here's the expression:

prim("../measure1", 0, perimeter, 0)
User Avatar
Member
76 posts
Joined: 2月 2017
Offline
Thank you man! Much appreciated

Frankie
  • Quick Links