Grasshopper

algorithmic modeling for Rhino

[solved] BAKE consecutive layer (for each time i click)

hey there mighty hoppers

Im baking a lot lately

is there a way to bake, and each time i bake the baking component will remember the last bake layer name and will then give a new layer name to the next ....

layer name > layer 01

bake  =>   i will get object in layer "layer 01"

on the next bake action... automatically i will get  "layer 02"  ( = layer 01 "+1")  and so and so

i have looked around for couple of days and couldn't find anything in the forum.

thnx

Views: 1490

Replies to This Discussion

I have just been working on the same thing a lot recently.

So you should get a plugin called Elefront, which gives you a lot of options for baking and saving things to rhino and also back to GH.

Here is a basic example I just made for baking some geometry to unique (time-stamped) layers, giving them some colors too. This should be a good starting point. Since you can reference existing layers and also bake to sublayers, you could quite easily make it name them layer1, layer2, etc.. depending how many you already have.

Attachments:

Ok, I was intruiged and made the numbering version as well. It creates a layer called Bakes and then a sublayer for each time you bake.

Here is the file.

Known limitations: if you delete one of the layers (except the last one), it will start writing into an existing layer. So if you have layer1, layer2, layer3 and delete layer2, the next time you bake it will write to layer3 and consecutive times will still write there, because it just gets overwritten and no extra "bake_object0" are created.

Attachments:

HEROIC

thnx. i will study this :) its not only the best tweak ... its also very interesting how to create consecutive memory ...  again... thnx

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service