I am working on a way to take an input mesh and use it to make a mesh with the same boundaries, but a rough surface. My current solution uses grasshopper heavily, but some key functions would rely on VB scripting, and I can't get that to work.
Here's what I'm doing: I use a divided bounding box to draw a whole slew of vertical lines. Then, I leave grasshopper, and use a rhinoscript tool that I wrote to generate points at the intersections of the lines and the mesh. Then, I go back to grasshopper, and use those points to make new points with the same X and Y values, but add a random value to their Z. Then, I leave GH again, and make a mesh patch using the new points and the edge boundary of the original mesh. What I would Like is to generate the intersection points in GH. Theoretically, I can make a surface from each mesh face, and use surface line intersections to get the points, but I typically need to generate hundreds of thousands of points, and that tends to crash GH. I would love to use a VB script component, but I am having a hard time with the VB.NET for Rhino reference guide, as my background in computer science is not all that robust, and while the guide offers what seems to be a comprehensive list of methods and what have you, it doesn't seem to get into how to actually use them. I haven't used VB for at least 7 years, so I am a bit rusty. If anyone can help me get some traction on this issue, I would be very grateful.
