Wish: progress bar - Grasshopper2024-03-28T13:20:34Zhttps://www.grasshopper3d.com/forum/topics/wish-progress-bar?commentId=2985220%3AComment%3A619634&feed=yes&xn_auth=noIs your answer still relevant…tag:www.grasshopper3d.com,2019-08-19:2985220:Comment:20047072019-08-19T11:55:45.393ZTHIERRY DE VILLE D'AVRAYhttps://www.grasshopper3d.com/profile/DEVILLEDAVRAY
<p>Is your answer still relevant or do you know today how to forecast the rate of completion of a Grasshopper definition?</p>
<p>Is your answer still relevant or do you know today how to forecast the rate of completion of a Grasshopper definition?</p> Instead of a progress bar, is…tag:www.grasshopper3d.com,2014-07-28:2985220:Comment:11073882014-07-28T19:02:08.603Zrpicthttps://www.grasshopper3d.com/profile/rpict
<p>Instead of a progress bar, is it possible to make GH faster? E.g. use of all processors.</p>
<p></p>
<p>-rpict</p>
<p>Instead of a progress bar, is it possible to make GH faster? E.g. use of all processors.</p>
<p></p>
<p>-rpict</p> Yes! Now that I am experiment…tag:www.grasshopper3d.com,2014-07-28:2985220:Comment:11076102014-07-28T09:41:52.560ZIlya Bourimhttps://www.grasshopper3d.com/profile/IlyaBourim
<p>Yes! Now that I am experimenting with really complicated solutions, it would be nice to hit escape, instead of crashing rhino/gh every time. </p>
<p>Yes! Now that I am experimenting with really complicated solutions, it would be nice to hit escape, instead of crashing rhino/gh every time. </p> Perfect...tag:www.grasshopper3d.com,2012-06-18:2985220:Comment:6197332012-06-18T11:03:03.311ZGregory Eppshttps://www.grasshopper3d.com/profile/GregoryEpps
<p>Perfect...</p>
<p>Perfect...</p> In version 0.9 there will be…tag:www.grasshopper3d.com,2012-06-18:2985220:Comment:6195892012-06-18T09:26:24.056ZDanny Boyeshttps://www.grasshopper3d.com/profile/DannyBoyes
<p>In version 0.9 there will be more opportunity to abort, but once you get into a lengthy process it has to complete that block before it looks for the escape command.</p>
<p>In version 0.9 there will be more opportunity to abort, but once you get into a lengthy process it has to complete that block before it looks for the escape command.</p> The option to cancel the solu…tag:www.grasshopper3d.com,2012-06-18:2985220:Comment:6196572012-06-18T09:19:30.298ZGregory Eppshttps://www.grasshopper3d.com/profile/GregoryEpps
<p>The option to cancel the solution is one step closer to this. Always useful when you have started a 10 minute calculation, and realise you actually needed to adjust a variable.... Possible?</p>
<p>The option to cancel the solution is one step closer to this. Always useful when you have started a 10 minute calculation, and realise you actually needed to adjust a variable.... Possible?</p> Thank you both.
I guess my ma…tag:www.grasshopper3d.com,2012-06-18:2985220:Comment:6196342012-06-18T07:08:06.887ZKarl Weckerhttps://www.grasshopper3d.com/profile/KarlWecker
<p>Thank you both.</p>
<p>I guess my main wish was to let the user know that something is still happening. So I think an "Updating" message would be great. How long it takes, is probably not so important.</p>
<p>Thanks.</p>
<p>- Karl</p>
<p>Thank you both.</p>
<p>I guess my main wish was to let the user know that something is still happening. So I think an "Updating" message would be great. How long it takes, is probably not so important.</p>
<p>Thanks.</p>
<p>- Karl</p> Hi Karl,
I agree it would be…tag:www.grasshopper3d.com,2012-06-15:2985220:Comment:6181632012-06-15T09:08:37.383ZDanny Boyeshttps://www.grasshopper3d.com/profile/DannyBoyes
<p>Hi Karl,</p>
<p>I agree it would be useful. Just like it would be useful to have a magic mirror to tell you who the fairest of them all is. :)</p>
<p>But like the magic mirror, a progress bar in grasshopper is pure fantasy. The computations of a grasshopper definition at the time of commencement are unknown. So how can you quantify something that you have no concept of its final size.</p>
<p>David has answered this question much better than me in the past with more scientific fact to support…</p>
<p>Hi Karl,</p>
<p>I agree it would be useful. Just like it would be useful to have a magic mirror to tell you who the fairest of them all is. :)</p>
<p>But like the magic mirror, a progress bar in grasshopper is pure fantasy. The computations of a grasshopper definition at the time of commencement are unknown. So how can you quantify something that you have no concept of its final size.</p>
<p>David has answered this question much better than me in the past with more scientific fact to support his argument. It would be a good FAQ topic for him to put together as you are not the first with this problem and you will definitely not be the last.</p>
<p>EDIT: he's already beaten me to it this time anyway.</p> Hi Karl,
a progress bar is n…tag:www.grasshopper3d.com,2012-06-15:2985220:Comment:6183782012-06-15T08:58:56.940ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>Hi Karl,</p>
<p></p>
<p>a progress bar is not possible, as it is not known ahead of time how long it will take to compute everything (in fact not even how many components will need to be solved, although I could write an algorithm that made a good guess at that number).</p>
<p></p>
<p>Also the solution runs in the Rhino UI thread, which is the same thread in which the interface of Rhino and Grasshopper run. Therefore, when a solution runs there are no cycles left over for Rhino and…</p>
<p>Hi Karl,</p>
<p></p>
<p>a progress bar is not possible, as it is not known ahead of time how long it will take to compute everything (in fact not even how many components will need to be solved, although I could write an algorithm that made a good guess at that number).</p>
<p></p>
<p>Also the solution runs in the Rhino UI thread, which is the same thread in which the interface of Rhino and Grasshopper run. Therefore, when a solution runs there are no cycles left over for Rhino and Grasshopper which is why they become unresponsive.</p>
<p></p>
<p>Fixing this means one of two things; either the solution must run a separate thread, which introduces a massive amount of synchronization problems or the solution must yield control back to the UI every now and again which would slow down the solution. I imagine it's not that big a deal if a long running solution lasts a tiny bit longer. I'll see if I can put an updating message on the canvas when the solution takes more than second or so.</p>
<p></p>
<p>--</p>
<p>David Rutten</p>
<p>david@mcneel.com</p>
<p>Poprad, Slovakia</p>