Grasshopper

algorithmic modeling for Rhino

Hi there,

I'm writing a vb.net component, which attempts to trim a freeform surface (brep1) using an open-ended cylinder (brep2). So far the code is simply:

Dim bb() As Brep

bb = brep1.Trim(brep2, 0.01)

A = bb

The problem is that it doesn't matter which way I flip the input surface normal directions, the trim always returns the larger surface with a circular hole. Actually what I want is just the circular hole. The documentation implies that the orientation of the cylinder should affect which piece is returned.

Any suggestions?

Steven

Views: 330

Replies to This Discussion

It's working fine on my computer. Try flipping the direction of one of the surface parameters (_Dir command and then click on UReverse, for example). If it's still not working try posting the geometry.

Is there a reason for not capping the cylinder?

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service