Grasshopper

algorithmic modeling for Rhino

This should be simple, i just seem to lack the skills..

Ive got a surface thats subdivided and I want to connect lines for every x number of points. What the end result will be is a series of parallel ribs based on a field of points (these will become ribs)

what is the function to cull these lines out, i seem to always be struggling with this

Thanks
Chris

Views: 307

Attachments:

Replies to This Discussion


In this image, you can probably replace the "set size" slider with a number from your divisions in either U or V (and you might need to add 1 to that number, I'm not sure). The set size will be your x number of points per rib. When your points come out of the "list item" component, feed them into a curve or polyline component.

I think that's what you were looking for. For more info, see here and here.
Incredible; its exactly what I was looking for.

I did have to add the +1 usually for everything when dividing surfaces

thanks
You can avoid the double series + list item component workaround by using the new path mapper component with the following expression:
{A}(i) -> {floor(i/3)}

The drawback is that you have to manually set the size of each path (you can't replace the number 3 with a variable).
thanks for that its a shame you cant make the variable but i will keep this one on file

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service