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

Bug in Python SplitBrep?

$
0
0

@ZmeiGorynych wrote:

Hi,

I'm trying to split an ellipsoid with another surface in the attached file. When I do the split manually in the UI, it splits fine into two pieces, whereas when I do the same using the below script, SplitBrep returns a list of two IDs, but the second ID consists of zeros and doesn't correspond to a visible surface in the UI.

Thanks a lot for taking a look!


import rhinoscriptsyntax as rs

thintop=rs.ObjectsByName("Thin Flower Top")
outer2=rs.ObjectsByName("PreFace")
pieces=rs.SplitBrep(outer2,thintop)

badSplit.3dm (1.6 MB)

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5892

Trending Articles