Bounding Box Split Problem

   2298   1   1
User Avatar
Member
768 posts
Joined: April 2014
Offline
I have two knife nodes, the first knife node works perfectly with regards to my expression, the second knife node doesn't work whereas when I scale the box origin on Y, the second knife tool doesn't keep a even split. This is the expression on the second knife tool;

bbox(“../clip1”,D_YMAX)/12

You may be asking, if I want a split which is even, why am I using divide by 12, when I should be using divide by 2. When using divide by 2 the knife is at the base of the bounding box instead of in the middle ?
Edited by _Christopher_ - June 14, 2016 21:05:18
【T】【C】【S】
User Avatar
Member
17 posts
Joined: May 2016
Offline
Hello,

I'm not sure I really follow, but if you want your knife tool to follow any preview Y translation or scaling, the expression should be something like :

first knife :
bbox(“../transform1/”,D_YMIN)+bbox(“../transform1/”,D_YSIZE)/3

second knife :
bbox(“../transform1/”,D_YMIN)+2*bbox(“../transform1/”,D_YSIZE)/3



Attachments:
KnifeSplit.hipnc (51.5 KB)

  • Quick Links