Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5756

RhinoCommon Split Brep with multiple Breps

$
0
0

@Helvetosaur wrote:

Having a bit of a brain fart here…

In RhinoCommon, I want to be able to split a Brep with multiple Brep cutters and get all the split parts. The thing is when I split the Brep with the first cutter, it can produce two or more parts (if there is an intersection) or none (if not). If the split does happen, the original Brep needs to be replaced by the list of split parts for the next cutter, and then I need to iterate through that list and do the same for each item in the list… etc. So the function needs to be recursive.

But I can’t seem to get my head around how to feed the split parts back into the original list and continue…

At this point I need to get on with other stuff, but if anyone can toss out a coupe of clues, it would be greatly appreciated…

Thx, --Mitch

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5756

Trending Articles