Copy stamping error

   1906   2   0
User Avatar
Member
55 posts
Joined: March 2015
Offline
Hi

I have a poly line and I want to copy it several times so it would look something like this:

http://prntscr.com/chket7 [prntscr.com]

I tried to set this up (should be simple) but it doesn't work…
Edited by SteN - Sept. 13, 2016 11:48:40

Attachments:
CopyStamp_error.hipnc (49.1 KB)

https://vimeo.com/user43100796 [vimeo.com]
User Avatar
Member
10 posts
Joined: March 2014
Offline
Put this in the offset variable on your copy sop : $CY%2==0
Drop a transform sop after your line (and before the copy sop)
Put this in the Translate X : stamp(“../copy1/”, “offset”, 0)

$CY is the copy number. Goes from 0 to however many copies you have. $CY%2 returns 0 for copy0, 1 for copy1, 0 for copy2, 1 for copy3 and so on.

If you want more control, you can put this in the translate X parameter :
if(stamp(“../copy1/”, “offset”, 0), 3, 2 )
User Avatar
Member
55 posts
Joined: March 2015
Offline
Thanks Georgie, I tried it and gave me error, then I checked and you have to write $CY%2 in che copy sop, not $CY%2 wich is a condition.
https://vimeo.com/user43100796 [vimeo.com]
  • Quick Links