Grasshopper

algorithmic modeling for Rhino

Hi All,

What is the smartest way to do this :

1. From 6 points build a simple polyline, that's the easy part

2. Find those 6 points again after generating multiples of them,

i.e. Line between A1, B1, C1 etc.

I am not sure what's the best way to do this ?

All i can get to is a line between A1, A2, ...  An etc.

Thanks for your help,

Thomas

Views: 887

Attachments:

Replies to This Discussion

When you have multiple lists of six points each (there the points in each list can of course have different locations) then you can use the Flip Matrix component to swap rows and columns in this grid of data. Then use Polylines to connect A1, B1, C1, ..., Z1. If you want individual line segments instead of polylines, just explode the polylines afterwards, that's slightly easier than shifting+shortlisting+lineAB.

--

David Rutten

david@mcneel.com

Tirol, Austria

Alright I got it now, Thanks a lot

Isn´t it just this what you are looking for?

If so, grafting outputs will do the trick. Merge keeps them in the right input order.

Thanks for your help !

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