Grasshopper

algorithmic modeling for Rhino

Is there any way how to translate a Brep to a NurbsSurface? I know there used to be simple way:

brep.faces.tonurbssurface

but that doesnt seem to be working anymore.. Any suggestions?

Views: 311

Replies to This Discussion

Hi Sven,

yes, there is a way. Keep in mind that a Brep is, essentially, a collection of trimmed Surfaces. So you need to tell which Brep face you would like to get. You can do so in this way:

B.Faces(i).ToNurbsSurface()

I hope this helps,

- Giulio
________________
giulio@mcneel.com

Attachments:

thx. I've forgotten to count with the faces list... it works now

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service