Grasshopper

algorithmic modeling for Rhino

Hello, I am trying to define points on a curve at specific z values. I have my point list with the x,y values at 0,0 and the z values are all in the curve's z domain. The curve tools only seem to let you divide a curve into equal parts or by a specified length, and the evaluate curve node doesn't seem to do me any good either. Any help would be appreciated. Sorry if this is a silly questions. Thanks.

Views: 2472

Attachments:

Replies to This Discussion

I also tried the pull command, and am hoping there is a simpler way than using trig and an integration to give me something useful to the evaluate curve node.

How about creating Planes at your given z values and intersecting the curve.

Yeah thats how I would have done it in rhino, but I was hoping for a more elegant solution.

Thanks though.

How is that not elegant?
I just thought there might be a more direct way that I was missing, but if there isn't this way is great. Thanks.

The problem you're faced with here is that a curve is only one dimensional along its length. You can get a location based on a parameter or even a length easily but to get it from three dimensional space is not so easy.

But the intersection component gives you results in both 3D(pts) and 1D(t) so you shatter the curve or any other action where you need the value of t, without having to use other components like closest point.

Thanks very much for the help.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service