Grasshopper

algorithmic modeling for Rhino

guru question:

how does one freeze a part of a file so that GH doesnt have to recompute all the steps every time u change a value?

for example:

say i have a really long and heavy definition, and the first part works, and all i want is to tweak a value at the end. what GH will do (i think) is recompute the whole solution every time you change any value.

this is really time consuming

what if u could "freeze" the beginning of the definition and only work on the end part?

 another way to link two GH files, keeping all the fixed data on one file and only work on the other one.

does anybody have an idea?

Views: 1523

Replies to This Discussion

Hi,
very simple:
leave the definitions of component and divided into tree structure.
"enable" on the first blocks the other ....


At a convenient point in your definition does it result in geometry?

If so then the Cache Geometry Component was made for this purpose. There are three states of this component. Bake, Through Put and Load. If the object only has an input then you can bake it to Rhino with the given name. If the component has both in and out then it behaves exactly like any other param. If it only has an output then you can load any objects in the Rhino document with that name. when in this mode you can switch all the other previous components to disabled.


It's interesting, but creates a break in the definition!
Hi Guy,

if you make a change that doesn't require an update on certain component, then they won't get updated. Grasshopper only recalculates those areas that are affected by a change.

If you want to temporarily cease recomputation you can disable the solver. You can then make a number of changes that won't cause any updates.

Lastly, disabling components will prevent them from updating. If there's a bottle neck component somewhere you only have to disable that one, otherwise you may have to disable multiple ones.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

Ok, maybe this is solution !

 

David it'is possible if bake geometrie with "cache Geometry", automatically disconnect the components connected to that one.

And if load geom, then disconnect next compoment.

HI all

thanks a lot for the quick answers.

I think that using the rhino as a cache is a really great idea - what would u do for numbers?

i still think you should be able to link different GH files like u can do in most programming languages.

but thanks again

guy

For numbers I would generate points to cache and then decompose them afterwards. ie x = 3.4, y = 0, z = 0 Then all you have to do is tap into the X component of the point.
Alternatively you could use a Panel. feed a data stream into a Panel Component. Right click on the panel and select Copy Data Only. Then disconnect the feed and paste the clipboard into the empty panel. There is a limit on this so if its too long you might need to stream the contents of a panel to a file and then use the File Read component to retrieve it.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service