Grasshopper

algorithmic modeling for Rhino

this is a Brep box made by:       this.myBox = Brep.CreateFromBox(listofpoint);

and I write the code to get the face:    class1.myBox.Faces[4];   "4"is the index of buttomface

But .....the results is not the whole buttomface,the results is the plane of buttomface ,it is a little square,with size of 1 unit. 

how can i get the face of one brep?

thank you very much!!!

Views: 339

Replies to This Discussion

maybe try to create a new face with 4 corners of a box ? 

this is a solution,but I just want to know how to get the face directly from a Brep......

after trying for a long time,this is a way,Box.Faces[4].DuplicateSurface();

Good to know, thanks for sharing :) I always find only workarounds ;/

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service