generative 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?
Tags:
Permalink Reply by Andrew Heumann on April 23, 2012 at 11:40am
Permalink Reply by Andrew Heumann on April 23, 2012 at 11:41am 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;
}
Permalink Reply by roberto gagliano on April 24, 2012 at 3:04am thanks a lot.
i will try it out.
Added by David Stasiuk 8 Comments 24 Likes
Added by stefano 5 Comments 8 Likes
© 2013 Created by Scott Davidson.
Powered by