Hello everyone, I am new to grasshopper and currently working on a script in which I want to optimize the workflow of the excavation work between an excavator and a few lorries. The goal will be to find the most economic, quickest or a mixed way to cut a specified pit under certain boundary conditions.
In a first step I created a rectangular pit and divided it in 100 fields with the same size. Now, I want to do a script in which the excavator moves from his starting position to field 1, cut this field, moves backwards, cut the next field (nr. 2) and so one. My question is, if there is any plug in or possibility to simulate that procress, that you can watch how the excavator moves forward, waits a certain time representing the cutting, moves backwards and so one?
I really appreciate any idea.
Best regards.
excavator
Hey,
I can give you brief overview for how to approach this.
You can sort list of numbers to go 1,2,3… And so on.
And on the halting for sometime and continue part: You can use Kangaroo
@antoinemaes does lot’s of animation using GH. He does launched a plugin, you can check that out.
Or else use Anemone plugin for looping.
Just sharing the idea which popped in my mind
Cheers,
BVR
Hey @ajarindia,
thank you for you answer. I will check this and might come back to you.
Hey,
I have tried the Anemone plugin and it works fine, thank you for that! Maybe you can explain a little bit more about your ideas using kangaroo for the halting and continue part. Which component would you use?
Hey,
Share your WIP file so that someone from the forum can go through it and help you better.
Kangaroo : I don’t remember the component exactly.
I request @DanielPiker to share if there some component/ method is there with K2. (Thanks in advance, Daniel)
@Qju9797 don’t forget to share your WIP files, screenshots.