noc2 Posted June 13, 2019 Share Posted June 13, 2019 (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 Edited June 13, 2019 by noc2 Quote Link to comment Share on other sites More sharing options...
noc2 Posted June 13, 2019 Author Share Posted June 13, 2019 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) Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted June 13, 2019 Share Posted June 13, 2019 You can 'remote-control' and repeatedly call the clipping SOP with python verbs. 2 Quote Link to comment Share on other sites More sharing options...
noc2 Posted June 13, 2019 Author Share Posted June 13, 2019 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.