Grasshopper

algorithmic modeling for Rhino

I still haven't figured out why some components insist on adding a trailing zero in the output tree structure while others just mind their own business.

At first, it led me to using the "Simplify" option like crazy, which had the adverse effect of screwing up my definitions when upstream data had varying levels of branching.

(Thanks to Andrew Hewman for pointing out that "Simplify" was an "absolute" operator, and that I should  stick to "relative" operators to have robust definitions).

I use the path mapper to get rid of the extra branching, but I'm sure that this might also spell "trouble" if the upstream tree structure changes.

So I think it would be nice to have some kind of toggle inside the component to block this nasty branching mania.

Views: 492

Reply to This

Replies to This Discussion

Really ?

No one's interested in this ?

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.

Ah... No more evolution for GH1 then....

I wasn't aware of that.

OK

GH1 has been on feature lockdown for over a year. We do still fix bugs, and sometimes 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.

The new multi-threading 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.

Ha ha ! You play with the multithreading fire but you won't add a little option to the components ?

This would not break the SDK or even any existing definition.

It would just make life in the woods much easier for the coming years.

Didn't you say that GH 2 won't come before Rhino 7 ?

I sure would like to see easier tree management before I get my first hip joint replacement :)

C'mon David, pleeease !

Ha ha ! You play with the multithreading fire but you won't add a little option to the components ?

This would not break the SDK or even any existing definition.

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.

It might 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.

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?

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.

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 !

Here is an illustration I did to make sense of this branching  imbroglio:

So YES : I wish there was a "No extra right hand side zero" option.

So YES : I wish there was a "No extra right hand side zero" option.

That's not the same thing though. Are you asking for a option which removes any and all rightmost zeroes shared amongst all paths in a tree. An option to remove only a single rightmost zero if it's shared amongst all paths in a tree. Or an option which doesn't add any additional zeroes to the outputs, but leaves them intact if they were already there?

Hi David, 

All three possibilities could be useful I guess.

By "No extra right hand side zero" I mean "Please Mr. component, don't add right-hand branching if it results in all-zeros".

Does that make sense ?

Cheers,

RSS

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service