Grasshopper

algorithmic modeling for Rhino

How to do the array thing in GH which is easy in Rhino script???

I get a set of curves,What I want to do is to lift up of every curve with the rule that more close to each other will have a lower extrude height.(Like most dense area will have lower curvature) It's easy to do in script that evaluate curve in certain number.Then measure the distance between points on target curve and points on 2 closest curves.After which get the variables that define the extrude height for each point on target curve
However,How to do in GH?I mean it seems diffcult to index the set of curves,but once we give the index to the curves,it is easy to say find the points on curve array(i-1) and array(i+1)

Views: 482

Replies to This Discussion

maybe if you try with two shift list component? with that you can get the +1 and the -1 for every point on the original list, then you can compare the lists and do what you want..
can u give a specific working process?
I'm not really sure what you are trying to do. Could you explain it in more detail or show a sketch or picture of what you want? Are you trying to move the curves up or are you trying to extrude them? And what do you want to do with the curvature?
finally,I want to use loft command to get a surface between original curve and curve after move.
so,the first step is to move the original curve up, then loft them.

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