Jump to content

Can't consecutively cut with knife sop


Recommended Posts

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
Link to comment
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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...