Grasshopper

algorithmic modeling for Rhino

Is there some easy technique to get a curve due to a moving point?

Views: 2568

Replies to This Discussion

I mean drawing the path of the point

Attachments:

While I'm not entirely sure of a method using native GH components, Kangaroo does have a Trail component that does exactly that. In the image below, the steps were as follows

1- create some example surface and convert to mesh

2- grab the naked edges of the mesh and use the end points of those edges for my points(just the start points of the edges for this example)

3a- apply a generic unary force to those points in the positive z direction.

3b- also use the "Constrain to mesh" component to pull those points to the mesh as they travel upward.

4- start the kangaroo simulation, (boolean toggle to true)

5-use the "trails" component on the "particles out" to trace the points trajectories.

I think there is also a point trail component in firefly, but I'm not sure, I don't have it installed right now.

EDIT: I guess part of the question should also be how you are defining the movement of the point?

I might understood something wrong, but looks like "Record" component will do the trick.
You can use both the regular slider, or directly connect the "Series" component with "Evaluate curve" component's "t" input plug:

Attachments:

good point.  the kangaroo example was presupposing that the point movement was not defined by a ,(known),pre-existing line.

the record component is one I always seem to forget about.  great solution.

I think Ahmed missed to point out weather there was a predefined curve or not.
A more clear overall explanation would be helpful too.
Therefor your solution is definitively logical, based on the give info. Now that's a great solution.
I would not even know how to do it.

The point movement is defined by known pre-existing lines. The record solution is the one and only?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service