Grasshopper

algorithmic modeling for Rhino

Hey everyone-

Seemingly straightforward issue here but I can't seem to crack it.  Any insight is appreciated.  When I loft my ellipses together they loop onto themselves.  I tried using the loft options parameter to turn off the close loft, but it seems like it's an a lofting order problem.  I'm sure it's a pretty easy fix, but I just can't seem to figure it out.  As always, your help is really appreciated.

(PS. Created in 0.8.0061)

 

E

Views: 2298

Attachments:

Replies to This Discussion

You can sort the curves first based on some parameter (like x, y, or z coordinates, size, whatever) using the sort component. Input your curves into input "a" and your corresponding sorting parameter (keys) into input "k".

 

It should output the curves in order from smallest to largest parameter (I think). If it's backwards you can just reverse the list.

 

It's not always easy to find one parameter that works for all curves, but sometimes it is.

 

You can also just make sure you select the curves in the right order if you are setting multiple curves to a curve component (if you don't have too many curves).

 

Hope that helps.

 

 

i actually just realized the issue might be a bit more involved than expected.  What I thought were closed loops of 'ribs' is actually one continuous spiral from the upper-left most ellipse to the farthest right most ellipse.  

Gotcha. I think I would break up the long list into subsets using domains that are created using series. 

 

Does each "rib" have the same number of curves to loft?

ok, so in response to my own issues i sorted out the looping/spiral issue.  I had flattened the list of pframes where the ellipses were oriented to (go me).  The new problem is that i now have a few hundred ellipses on top of eachother as noted in the attached image.  How can I clean out those extra values?  Most recent GHX attached.  

Attachments:

Haha, I just put together a quick GH file for you but it doesnt look like you need it anymore. I'll upload anyways and then take a look at your file.

Attachments:

I see. Just graft the "G" input of the Orient component. That way each ellipse matches up with one orientation plane. Otherwise each of the 567 curves gets oriented 567 times which was like 12000 ellipses.

Thanks for your help Brian!  Worked like a charm.  I knew it was something simple i was missing.  

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service