Grasshopper

algorithmic modeling for Rhino

Hi! i'm actually tryng to solve a problem.. basically i have a masterplan... with a lot of rectangles square of different dimension... i've actually found a script that allow me to create classical roof whith.... the point is that i can't apply this to all of the element because it crashes...

What i'm asking is... all the elements are stored in a list so... is there a way to apply the process of grasshopper one by one... and bake it one by one..?

Views: 741

Replies to This Discussion

This might do it....

You'll need to modify for your own purposes.

I've improved it by including partitioning the list which speeds it up considerably.

Attachments:

A video showing an overview of the file working

The example has 1000 circles in a single list which need to be processed into cones with colours.

Its partitioned into 20 chunks, each with 50 circles to process

When the timer and the counter is started it runs through incrementally.

Once the counter has gone past 50, the baking is switched off


There is a log to keep track of which index it got up to just incase it needs to be aborted... and there is a start at indices input in the counter.

Same again with 10,000, 20 partitions, 500 in each partition.... It baked 9980 so it missed one index...I've got a feeling its index 0.

Real-time this was 6 minutes... so the speed for your application will be depending on how efficient your roofing algorithm is and the machine you run it on.

Wow that was amazing, THANK YOU SO MUCH!!! =)

I'd be interested in seeing your implementation.

also I can't take all the credit... the bake component was created by a very talented coder http://www.giuliopiacentino.com/grasshopper-tools/  ... I had to update it to the 0.9.0076 version, but it didn't take much.... The gh file itself is a quick and dirty bodge of a job which hopefully serves its purpose.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service