Grasshopper

algorithmic modeling for Rhino

This is a longshot, but I'd thought I'd throw this out there to see if anyone has tackled it.

I'm looking for a component that will update when GH is done computing.  Something that can be used as a 'ticker' in a sense.

What I have is a lengthy GH Formula that calculates prefab units, and then draws a fabrication/manufacturing "ticket" that we can pass along to our shops.

All the data needed comes from an excel sheet, by row.  So what i was looking for was something that can update when GH is done computing, bake the geometry into the file, and move to the next row, compute, bake, next row, etc etc.

I've managed to run it with simple timers, but the formula can get heavy at times and "jog" the timers, which in turn puts them out of sync.

Anyone achieve something like this?

Views: 582

Replies to This Discussion

Hi,

a few quick questions:

i) How do you interact with the excel sheet currently? Through a scripting component?

ii) I am not familiar with a GH Formula - is that a math expression? Or is this a script?

iii) Do you want to automate baking as well?

iv) Do you want the component to update itself or the whole document?

Jason -

i) Currently I am interacting with the excel sheet through lunch box.

ii) GH - Algorithm = I meant to say the grasshopper file.

iii) I do want to automate baking.  

iv) Its will update itself, which will inturn change which row it will read from excel. Which will update the whole document.

  Thank You

Hi,

I am not sure it if this will help you out, but I had fun putting it together. I assume that since you are posting on the scripting part of the forum, you are looking for some code-based solution. It works by looping over and over again.

Attachments:

Jason, sorry I've been super swamped lately.

This is almost what I need.  The issue is I'm baking a hundred or so breps into the rhino file.

This causes cyclic to jump the refresh and it will skip 20 or so of the excel rows before baking again.  I've tried to delay the refresh rate within the python code, however it seems I have no idea what I am doing.

Thanks Jason,

I'll try it out as soon as possible it looks like what I am trying to achieve.

Will keep you updated.

Thank you again!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service