Grasshopper

algorithmic modeling for Rhino

i generated a grasshopper mesh from a rhino loft and now want to extract all mesh edges that refer to the surface U-direction and to the surfae V-direction seperately.

does anyone have a solution for this?

Views: 1367

Replies to This Discussion

here's one solution:

I'm using a script to get the mesh edges out; you can get a script that does this with uto's mesh tools or with weaverbird, or you can copy mine:

private void RunScript(Mesh m, object y, ref object A)
{
List<Line> lines = new List<Line>();
for(int i = 0;i < m.TopologyEdges.Count;i++){
lines.Add(m.TopologyEdges.EdgeLine(i));
}
A = lines;
}

thanks a lot.

i will try it out.

It not work out right direction.I think the meshs topology is not equal to their one.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service