Offset copy of a curve, how ..?

   2372   4   1
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Hi;

How could I create an offset copy of a curve?
something like this image:

Thanks.

Attachments:
Curve_Offset.jpg (113.4 KB)

Masoud Saadatmand (MSDVFX)
User Avatar
Member
33 posts
Joined: July 2017
Offline
Hi,

one way could be to create a normalized vector pointing to the wanted direction. Duplicate the curve. Then add this vector multiplied by a float (which value is the desired offset) to the position.

@P = @your_direction_vector * chf("offset");

The vector can't be unidirectional for all the points of course, but needs to be relative to the tangent of the curve (like the arrows in your second picture). The node called polyframe can help you on this. For example you can rotate a vector N as you prefer by using the generated tangent as axis.
FX Artist - Scanline VFX
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Thanks “Andrea”, but is there any SOP to do this?
Masoud Saadatmand (MSDVFX)
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
Poly Expand 2D maybe?
Don't have direct experience, but I rmb somebody suggesting it in another thread.

Check it out
Edited by Andr - Feb. 22, 2019 11:04:20
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Thank you “Andr”, That's what I need.
Masoud Saadatmand (MSDVFX)
  • Quick Links