Grasshopper

algorithmic modeling for Rhino

Hi All!

I am having a few issues with my definition. I used the tween curve component between 3 curves which resulted in 17 curves total. I am trying to rotate all the curves at once but the original 3 do not seem to rotate as the other ones do. Another issue is when I try to loft the curves together, I am not getting a clean lofted surface between the curves. I have highlighted the areas in the definition which I think are the cause of these issues. Please see attached file.

Views: 665

Attachments:

Replies to This Discussion

Whenever you see a messed up loft from curves, you should check first the order of the curves. A "list item" component will help you step through (or highlight) the curves in order. Chances are, you'll catch the bug. The problem of rotation is caused by the same bug.

Sure enough, when I carefully stringed the curves, the loft came out good and the rotation followed as well. See attached

Attachments:

I would add that there is always a way to automate the manual checking and ordering of elements like this.  In the attached file I have created a small series of components to evaluate the center point of each curve and order based on height in the z direction.  This solves issues with the loft and rotation within the script.

Attachments:

Thank you for your help professor!

Ryan,

the comonents showed up but does not run for some reason. Even my loft component turned red.

Looking at the script again, I used the center component from Heteroptera, which you likely don't have.  You can use the evaluate curve component instead, which I have used to replace the center component in this revised script.

Attachments:

Thank you Ryan that makes sense!

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