Grasshopper

algorithmic modeling for Rhino

Hi all,

I have this problem that may be trivial, but I don't whats the way to solve it.

I attach the files.

Basicly, in GHX, how can I combined this 54 curves (hexagon and quad) into 1 curve that shares the common point index where the points between them meet?

I tried join curve but does not work (still the same amount of curve and points).

Do I need to make my own algorithm to solve this?

Please help

Thank you.


Views: 559

Attachments:

Replies to This Discussion

First, in order to make join work, you need to explode your curves. They seem to be closed polylines already. Join will ignore those, as closed curves are already an optimal way of joining segments.

In general, you should ask yourself: can I trace my lines in a single run without using the same segment twice? If you cannot, your primary goal is not possible to reach... or did I misread, what you want to do?

Thank you for your response.

I have tried to explode the 54 curves into 298 segments of edges, then reconnect them again, and it gives me back the 54 curves. 

I guess you may be right that there is no way make this into 1 single curve because it seems impossible for it to be traced in a single run. Thus, perhaps there will be always an overlapping points in these kind of model.

I used to think that maybe if I create a script that can join points in a certain tolerance, do you think that it may solve the problem?

I need the curves to be joined to 1 curve in order for the extrusion reason. If I extrude each module in surface Normal direction (using bent surface as its base), it will gives me a gap or intersecting edge. Thus my plan is to make all into 1 curve, offsett it, then loft them. 

Please suggestion.

Thanks.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service