Grasshopper

algorithmic modeling for Rhino

Hi World

Im tracing a dynamic point to produce its motion trajectory. The question is how could I automatically record the data at certain time intervals, 2sec for example?

Views: 2010

Replies to This Discussion

That would require a timed recording, which isn't available as part of standard GH. It's possible to hack a C# script together (the 2 second interval is hardcoded, modify the code if you want it to be something else) which kinda sorta does this.

However note that the only data it records is during a solution that is at least 2 seconds after the previous record. If data stops changing, it'll stop recording.

Attachments:

Here's how using only native components (DataDam & DataRecorder from Parameters > Util tab):

Hmm, I could have sworn that wouldn't work as I thought the data dam keeps on postponing updates whenever new changes come in. Apparently it doesn't... I wonder if that's a bug or if I did design it this way.

I don't no what to say, but please leave it like this:) (Or add an interval (ms) input;)) (Or just a Textbox that takes integers - I'd love to see how that could be accomplished as input)

Thank you guys. However, I think there is a misunderstanding. My intent is to record the motion sequence of the point in each two second, maybe there are 50 frames. Fortunately, this problem has been solved

Anyway, thanks a lot

Hi Mark. Please let me ask how you solved the problem. I cannot find how to change the time intervals for recording data.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service