Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8531

Trim.Brep(Plane,Tolerance ) vs Trim.Brep(Brep,Tolerance )

$
0
0

@onrender wrote:

Hi there,

I would like to use the Trim.Brep method in Iron Python, however I selected the Brep surface as cutter, Rhino still expect the Plane.

import Rhino
import rhinoscriptsyntax as rs

objBrep = rs.GetObject ( "SelectBrep", 0, False, False, None, True)
cut = rs.GetObject ( "Select cutter", 0, False, False, None, False)

cut = rs.coercerhinoobject(cut)

print objBrep.Brep().Trim(cut,0.01)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8531

Trending Articles