Jump to content
Sign in to follow this  
noc2

Can't consecutively cut with knife sop

Recommended Posts

Posted (edited)

Hi;

I'm trying to cut a plane into n number of pieces using a knife sop. I'm using a foreach loop for this, but since I want the divisions to be made consecutively rather than recursively (I want the single prim to be divided into n parts equally instead of recursive division like one into the next), I kept the plane and the knife sop out of the loop. From the outset, I seem to be getting what I want but the resulting geometry ends up having 11 overlapping prims where there should be 4 prims instead at 4 iterations. I must be doing something wrong, but can't quite figure out what. Could you please help out?

Thanx and cheers;

AJ

Annotation 2019-06-13 022624.png

Edited by noc2

Share this post


Link to post
Share on other sites

I've already achieved this using vex, but I'm at odds as to how to go about accomplishing the task through this route, hope that makes sense (kinda) :) 

Share this post


Link to post
Share on other sites

Thanx Konstantin. I kind of suspected that (as a newbie of course) what I was after called for a scripted operation. The foreach loop, by nature, seems to bear within itself a recursive type of operation where the prim count increases with each division operation thus leading to the loop doing its execution on the next prim it produces.

Thank you again for you reply, highly appreciated.

cheers;

AJ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×