Grasshopper

algorithmic modeling for Rhino

Hi all,

I am trying to get splited surfaces or breps by using Brep.Face.Split... but I cannot make those as output like a List of surfaces.. keeps giving me one brep..(with splited edges and vertices inside of its structure) Please review following my code...and give some advices..

Brep bb = b.Faces[0].Split(crvs, 0.01);

List<Brep> ss = new List<Brep>();   

for(int i = 0; i < bb.Faces.Count; ++i){     

ss.Add(bb.Faces[i].ToBrep());    

}

 

A = ss;

Views: 223

Replies to This Discussion

Try .DuplicateFace()

Brep split = b.Faces[0].Split(crvs, 0.01);
A = split.Faces.Select(face => face.DuplicateFace(false));

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service