Grasshopper

algorithmic modeling for Rhino

Iterate through branches of datatrees to bisect angles between adjacent faces in mesh

Hi, 

I have put together the attached grasshopper file with the aim to create a flat surfaces which bisects angle between all adjacent faces in a mesh.

'My C# script' component generates two DataTrees, one for adjacent faces (as the index of that face) and the other for corresponding shared edges (as LineCurves). Excuse my code - not sure of C# conventions naming etc.

At the moment I have it working to the point that I can slide my 'PATH slider' to select a particular face in the mesh and carry out the operation for just that one face, but I really need to do is do it for all the faces in one operation. 

I thought I could just do this bay replacing my 'PATH slider' with a numeric range for all the faces but this goes through every combination of face with every combination of edge and my computer soon spits the dummy and crashes.

Any help would be much appreciated. I think I could do it with just code - have not quite got my head around grasshopper iterates stuff.

 

Views: 384

Attachments:

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2026   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service