copy geometry by an exact amount

   2322   2   0
User Avatar
Member
21 posts
Joined: May 2016
Offline
I have some geometry i'm trying to copy (shown image 0)
but when i copy it to points that are distributed by a certain distance the vertices don't meet properly(see image1)
I used the measure sop to define a distance (shown image 2)
I then used the resample node to specify the distance between each point on the curve(image 3)
but unfortunately the vertices do not touch. Is there a way to feed the measure attribute length back to the resample node. Or is the number too long that houdini just won't copy it exactly.

Attachments:
0.JPG (18.6 KB)
1.JPG (13.2 KB)
2.JPG (51.3 KB)
3.JPG (139.3 KB)
4.JPG (44.6 KB)
5.JPG (105.0 KB)

User Avatar
Member
8554 posts
Joined: July 2007
Online
you can use prim() expression in your resample length parm to get the value of length attribue
since Spreadsheet is rounding the numbers so if you manually copy from there, you are not getting the correct value
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
21 posts
Joined: May 2016
Offline
Thanks Tomas,that worked !
  • Quick Links