WISH : no trailing zero option - Grasshopper2024-03-28T16:52:43Zhttps://www.grasshopper3d.com/forum/topics/wish-no-trailing-zero-option?commentId=2985220%3AComment%3A1813041&x=1&feed=yes&xn_auth=noHi Andy, I understand your po…tag:www.grasshopper3d.com,2017-09-22:2985220:Comment:18175512017-09-22T07:54:28.290ZOlivier Suirehttps://www.grasshopper3d.com/profile/OlivierSuire
<p>Hi Andy, I understand your point, but my tiny brain can't keep track of what each branch represent in trees which keep growing with no actual "meaning" in the context of my definition.</p>
<p>Therefor, I need to groom constantly to keep the tree structures intelligible.</p>
<p>Recently, I have been using "Trim tree" to that goal : I know that it would break the definition if the input structure is different, but I know for sure it can't happen.…</p>
<p></p>
<p>Hi Andy, I understand your point, but my tiny brain can't keep track of what each branch represent in trees which keep growing with no actual "meaning" in the context of my definition.</p>
<p>Therefor, I need to groom constantly to keep the tree structures intelligible.</p>
<p>Recently, I have been using "Trim tree" to that goal : I know that it would break the definition if the input structure is different, but I know for sure it can't happen.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769323029?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769323029?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p>The above definition answers a very specific and concrete need for our engineering purpose, and the process is well framed ; therefor I am confident that the trimming will never have adverse effects.</p>
<p></p>
<p>I like your description of the more robust simplification process I was suggesting : "<span>p-shift if all 0s but not otherwise", it is quite concise.</span></p>
<p><span>Maybe it can be done with regular components and made into a cluster that would be appended to the outputs who insist on growing my trees :)</span></p>
<p></p> An option which has been disc…tag:www.grasshopper3d.com,2017-09-21:2985220:Comment:18173682017-09-21T20:31:36.052ZAndrew Heumannhttps://www.grasshopper3d.com/profile/AndrewHeumann
<p>An option which has been discussed before and is not too different from this is a "shift paths/trim tree by one" modifier in the right-click menu. I think this covers 95% of cases - if you KNOW that for your definition you will NEVER wind up with multiple results for a single input for a given operation, then pshift-by-1 and be done with it. It would be lovely to have this as a right-click menu option. </p>
<p></p>
<p>However, in my opinion, safe and predictable use of data trees means only…</p>
<p>An option which has been discussed before and is not too different from this is a "shift paths/trim tree by one" modifier in the right-click menu. I think this covers 95% of cases - if you KNOW that for your definition you will NEVER wind up with multiple results for a single input for a given operation, then pshift-by-1 and be done with it. It would be lovely to have this as a right-click menu option. </p>
<p></p>
<p>However, in my opinion, safe and predictable use of data trees means only *relative* operations (that means: no flatten, no path mapper, no simplify) - this is how you ensure that the tools you build can survive upstream structure change. I am not a fan of anything more complex than this - including olivier's *conditional* modification of the path structure (p-shift if all 0s but not otherwise) - upstream changes with such a system will break the shit out of your definition. </p> Hi David,
All three possibil…tag:www.grasshopper3d.com,2017-09-13:2985220:Comment:18130412017-09-13T14:56:35.257ZOlivier Suirehttps://www.grasshopper3d.com/profile/OlivierSuire
<p>Hi David, </p>
<p>All three possibilities could be useful I guess.</p>
<p>By "No extra right hand side zero" I mean "Please Mr. component, don't add right-hand branching if it results in all-zeros".</p>
<p>Does that make sense ?</p>
<p></p>
<p>Cheers,</p>
<p>Hi David, </p>
<p>All three possibilities could be useful I guess.</p>
<p>By "No extra right hand side zero" I mean "Please Mr. component, don't add right-hand branching if it results in all-zeros".</p>
<p>Does that make sense ?</p>
<p></p>
<p>Cheers,</p> So YES : I wish there was a "…tag:www.grasshopper3d.com,2017-09-09:2985220:Comment:18109592017-09-09T07:56:13.538ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<blockquote><p><span>So YES : I wish there was a "No extra right hand side zero" option.</span></p>
</blockquote>
<p></p>
<p>That's not the same thing though. Are you asking for a option which <em>removes any and all rightmost zeroes</em> shared amongst all paths in a tree. An option to <em>remove only a single rightmost zero</em> if it's shared amongst all paths in a tree. Or an option which <em>doesn't add any additional zeroes</em> to the outputs, but leaves them intact if they were already…</p>
<blockquote><p><span>So YES : I wish there was a "No extra right hand side zero" option.</span></p>
</blockquote>
<p></p>
<p>That's not the same thing though. Are you asking for a option which <em>removes any and all rightmost zeroes</em> shared amongst all paths in a tree. An option to <em>remove only a single rightmost zero</em> if it's shared amongst all paths in a tree. Or an option which <em>doesn't add any additional zeroes</em> to the outputs, but leaves them intact if they were already there?</p> sometimes during the Rhino6 l…tag:www.grasshopper3d.com,2017-09-08:2985220:Comment:18106772017-09-08T12:23:30.186ZOlivier Suirehttps://www.grasshopper3d.com/profile/OlivierSuire
<blockquote><p><span>sometimes during the Rhino6 life-span the amount of processors in computers will become a far more important metric than the speed of any one of those processors.</span></p>
<p></p>
</blockquote>
<p><span>Well, based on past intervals between major releases, we will probably see quantum processors in cheap Asus laptops before Rhino 7 WIP is on the horizon !</span></p>
<p></p>
<p><span>Here is an illustration I did to make sense of this branching…</span></p>
<blockquote><p><span>sometimes during the Rhino6 life-span the amount of processors in computers will become a far more important metric than the speed of any one of those processors.</span></p>
<p></p>
</blockquote>
<p><span>Well, based on past intervals between major releases, we will probably see quantum processors in cheap Asus laptops before Rhino 7 WIP is on the horizon !</span></p>
<p></p>
<p><span>Here is an illustration I did to make sense of this branching imbroglio:</span></p>
<p></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769322495?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769322495?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p>So YES : I wish there was a "No extra right hand side zero" option.</p> Ha ha ! You play with the mul…tag:www.grasshopper3d.com,2017-09-08:2985220:Comment:18103902017-09-08T08:25:23.598ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<blockquote><p>Ha ha ! You play with the multithreading fire but you won't add a little option to the components ?</p>
<p>This would not break the SDK or even any existing definition.</p>
</blockquote>
<p></p>
<p>Well, I was as surprised as you to find Steve had started on multi-threading. I'm sure he had good reasons. We do need to get our SDK as threadsafe as possible as quickly as possible, because sometimes during the Rhino6 life-span the amount of processors in computers will become a far…</p>
<blockquote><p>Ha ha ! You play with the multithreading fire but you won't add a little option to the components ?</p>
<p>This would not break the SDK or even any existing definition.</p>
</blockquote>
<p></p>
<p>Well, I was as surprised as you to find Steve had started on multi-threading. I'm sure he had good reasons. We do need to get our SDK as threadsafe as possible as quickly as possible, because sometimes during the Rhino6 life-span the amount of processors in computers will become a far more important metric than the speed of any one of those processors.</p>
<p></p>
<p>It <em>might</em> not break the SDK (almost any change is a potential break), but worse, files that use (and need) this feature will no longer work when loaded on earlier versions. Although there are already plenty of new 'standard' components in Rhino WIP, so file exchange is already compromised.</p>
<p></p>
<p>To be clear, the 'Don't Add Branches' thingy you're suggesting is like Simplify, but only for zeroes on the right-hand-side of paths?</p> Ha ha ! You play with the mul…tag:www.grasshopper3d.com,2017-09-07:2985220:Comment:18102002017-09-07T20:54:10.972ZOlivier Suirehttps://www.grasshopper3d.com/profile/OlivierSuire
<p>Ha ha ! You play with the multithreading fire but you won't add a little option to the components ?</p>
<p>This would not break the SDK or even any existing definition.</p>
<p>It would just make life in the woods much easier for the coming years.</p>
<p>Didn't you say that GH 2 won't come before Rhino 7 ?</p>
<p>I sure would like to see easier tree management before I get my first hip joint replacement :)</p>
<p>C'mon David, pleeease !</p>
<p>Ha ha ! You play with the multithreading fire but you won't add a little option to the components ?</p>
<p>This would not break the SDK or even any existing definition.</p>
<p>It would just make life in the woods much easier for the coming years.</p>
<p>Didn't you say that GH 2 won't come before Rhino 7 ?</p>
<p>I sure would like to see easier tree management before I get my first hip joint replacement :)</p>
<p>C'mon David, pleeease !</p> GH1 has been on feature lockd…tag:www.grasshopper3d.com,2017-09-07:2985220:Comment:18102962017-09-07T20:41:29.504ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>GH1 has been on feature lockdown for over a year. We do still fix bugs, and <em>sometimes</em> new features are added to stop us all going insane, but we're not supposed to make any major changes this close to Rhino6 release.</p>
<p></p>
<p>The new <a href="https://discourse.mcneel.com/t/v6-feature-multi-threaded-gh-components/47049" target="_blank">multi-threading</a> is a bit of a break on this, but I suspect we mostly wanted to test our own SDK for thread-safety, and this seemed like a…</p>
<p>GH1 has been on feature lockdown for over a year. We do still fix bugs, and <em>sometimes</em> new features are added to stop us all going insane, but we're not supposed to make any major changes this close to Rhino6 release.</p>
<p></p>
<p>The new <a href="https://discourse.mcneel.com/t/v6-feature-multi-threaded-gh-components/47049" target="_blank">multi-threading</a> is a bit of a break on this, but I suspect we mostly wanted to test our own SDK for thread-safety, and this seemed like a good way to do so while having a beneficial side-effect.</p> Ah... No more evolution for G…tag:www.grasshopper3d.com,2017-09-07:2985220:Comment:18100942017-09-07T16:06:50.588ZOlivier Suirehttps://www.grasshopper3d.com/profile/OlivierSuire
<p>Ah... No more evolution for GH1 then....</p>
<p>I wasn't aware of that.</p>
<p></p>
<p>OK</p>
<p>Ah... No more evolution for GH1 then....</p>
<p>I wasn't aware of that.</p>
<p></p>
<p>OK</p> I'm not supposed to work on G…tag:www.grasshopper3d.com,2017-09-07:2985220:Comment:18100932017-09-07T15:56:32.679ZDavid Ruttenhttps://www.grasshopper3d.com/profile/DavidRutten
<p>I'm not supposed to work on GH1 any more, so this is going on the GH2 pile. GH 2 will be different in many ways, so maybe your suggestion is exactly what will happen, maybe something similar will happen, maybe the problem isn't relevant any more.</p>
<p>I'm not supposed to work on GH1 any more, so this is going on the GH2 pile. GH 2 will be different in many ways, so maybe your suggestion is exactly what will happen, maybe something similar will happen, maybe the problem isn't relevant any more.</p>