Grasshopper

algorithmic modeling for Rhino

Can someone more experienced with grasshopper give me a better way to accomplish my intent of offsetting division points on a curve to a variable height.  See my attached screen shot and attempt using a split curve and 2 ranges.  I want to be able to specify the height along a curve from another curve.  For example have the curve start at 2 at the beginning then at a specific point near the middle have it be 10 and then go back down to 4 at the end.  But I don't want to have a sharp point at the middle point of 10 like in the screen shot.  I'm wondering if there is a way to tell a range to move exponentially or at a specific rate instead of evenly?  Or maybe using a range is the wrong method?  I really hope I'm making sense.  Thanks,

Jesse

Views: 984

Replies to This Discussion

Hi Jesse, I don't understand what you are doing, but you said you are looking for a way to make an exponential range, so maybe this discussion will help you to get your definition to work:
http://www.grasshopper3d.com/forum/topics/curve-quest

Hi Jesse,

 

Try this. Your methodology, but applied to multiple data structures. If you need a single curve at the end just flatten the list and Join Curves

Attachments:

Sorry this is probably more of what you had in mind.

Attachments:

Thank you Danny and Pieter for your replies.  Both were helpful and got me closer to what I was looking for.  Unfortunately I think I might be using the wrong approach to get what I am after.  Maybe there is a way to use just one curve rather than splitting or scattering the curve into 2 curves?  I originally used a split in the curve in order to specify the point at which the offset curve came to full height.  Using Danny's method I was able to get very close but still have an abrupt/sharp transition between the 2 curves as shown on the attached image.  Please let me know if you have any additional thoughts.  Thank you for your help.

Sorry I thought the sharp corner was the desired effect. I would therefore flatten, Sort and Create Set before putting into the InterpCrv. The Create Set Component will remove the duplicated Point which is common to both curves

 

I'm still trying to wrap my head around each of these settings but the result is exactly what I wanted.  Thank you for your help and time!
The Down arrow is the indication that the input has been flattened using the context menu option. The Sort Component will sort the Points in the X direction only. The Create Set Component is a new addition in v0.8.0008 which will make a 'Set' of unique elements (i.e. remove duplicates) it will only work on simple data, which as luck has it includes points.

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