Grasshopper

algorithmic modeling for Rhino

Hello,

This is a newbie question.
I have something that looks like a tree made of many lines. I wanna join them as one single object.
I've been trying with OnPolyLine but I cannot see any method appending Lines in a Polyline. You have to add points instead and you get wrong connected lines between the append points.

Thanks !

Views: 8276

Replies to This Discussion

'Join Curves' is not enough. I should maybe use 'OnPolyCurve'
You might want to post a quick picture/file of your geometry so we can see what your working with. My personal inclination is that you really want a poly line here as a poly curve might potentially be more work to deal with later on down the line. Depending on the geometry your working with, creating a polyline from a series of lines should be fairly straight forward its just about how you approach the problem.
Yes. this is the thing !!
Attachments:
Each line is one single element and I would need the whole thing to simply be one element. I can then deal with is as one thing with data structures.
This is kind of what I thought you were working with. The problem is that Rhino will not join this into a single line object, since it can't have more than two line segements share a single vertex. Since I'm not sure what you're actually looking to do with this, its hard for me to suggest any other options. What I would consider is trying to find a way to organize those segments so that you could then access them in some sort of logical manner. Beyond that I don't know what to suggest here.
Thank you. I will look and tell you.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service