Grasshopper

algorithmic modeling for Rhino

lines between all points seperated by their parts

Hi everybody,

I just have a small data tree problem. I wanna connect all points in the same tree parth with a line, but I really can't figure out what component is missing. I tried it with data parth so it would look like two flattern trees for the two paths, but it didn't work.

Could anybody please help me?

Views: 582

Replies to This Discussion

If you just have two branches in the tree, You could explode tree - which give you two outputs (path 0, and path 1). Then flatten those outputs and connect them to the line component.

Unfortunately I will have more than two branches at the time, thanks anyway.

Is there no connection possibility between the points in each branch. It seems like a easy problem (it mostly does) ;).

Reverse isn't an option, too. Because then I don't have a connection between all the points in each branch.

Why don't you use "polyline" instead of "Line"? According to your screencap, you've connected the same each point as start and end point, so it has produced 0 length lines.

In my opinion, there are two possibilities.

First one is using "Polyline" and then "Explode". Second one is using "Shift List"(Shift offset both -1 and 1, wrap value to False) and connect both branchs to lines.

Thanks a lot I solved it with polyline!!!

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