Grasshopper

algorithmic modeling for Rhino

Hi, I need some grasshopper advice.
See attached image.
I'm trying to offset Line A in the X direction a distance which is a factor of its length.
I can manage that fairly easy.
but
i want to continue offsetting the lines based on their length.
so line A is offset by its length/4 which makes a new line (LineA1). then LineA1 is offset by LineA1/4 etc...

what would the best way to go about this? i'm not very familiar with VB, and would rather keep it to standard grasshopper components.

thankyou

Will

Views: 613

Attachments:

Replies to This Discussion

Hi William,

Are you wanting your line lengths to be the distance between the 2 curves Running in the X direction?

If so then what I would do is this..


1 First Line between the start points of your two guide curves.
2 Offset distance = Length/4
3 Intersect Curve/Line component to find points on curves.
4 Generate Line between these two points
5 repeat 2-4 as necessary.


This would not be pretty as you cannot loop in native Grasshopper so you have to copy and paste each iteration and plug in the new line until you reach the end of you guide curves.

thankyou it works very well.

i think i better learn to use the VB components.

thanks again.

Will

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service