Grasshopper

algorithmic modeling for Rhino

Hello  all,


Do it a little while I want to ask the question.

It's a bit subtle, but I have some problems for specific components.

Here, look good image. Why item on the tree simplification does not apply?

In the case of the tree component works perfectly. But for an item, nothing changes.

Why ?

Thanks for all

Views: 6790

Replies to This Discussion

Hi Remy,

Pretend the Cluster is the Simplify Component. Does it work as you would expect?

Attachments:

Thanks for all.

Danny, Luis & David....

I understand the context. And I just found a use for the example of Danny.

My reasoning is a little different, but it does not produce an error:

Attachments:

Im not at my pc. What does it do for a single branch?

Your example works for a single branch, but an error in the case of several branches.

  • With single branch:

Okay so to summarise:

you are looking for the Removal of Zeros for a single branch when using the Simplify function.

Any whole number is relevant just the 0's are redundant unless they are all 0 in which case a single 0 is sufficient.

Is that correct?

For me, yes !!!

Me too. 

@David, I know its your call in the end but "Simplify" should make things simple and where there is no context to refer to then the simplest form (without flattening) would be a great feature of this function. I know a lot of people struggle with this small issue.

It's user enabled so there is a Caveat Emptor presiding over the results much in the same way there is now by losing the whole tree structure.

You give me so reason, Danny?


Many of us here think the same thing. the item should function as trees.

@+

This is lost in translation:

You give me so reason, Danny?

do not understand the question.

the item should function as trees.

Although it will not work the same as trees. The simplify with multi-branches is removing similar branches. This will only be removing 0's.

e.g.

{1;1;1;3;0}

{1;1;1;4;0}

{1;1;1;5;0}

would end up after Simplify as:

{3}

{4}

{5}

But the single branch (remove zeros algorithm, as summarised above) would give:

{1;1;1;3} 

If its a single branch surely the 'consistent' behaviour would be to default to simply {0}. I totally agree with Remy on that one.

Where's the logic in keeping it with multiple indices? If its for the purposes of 'data matching' (which has been used to defend the reasoning behind the 'logic' with previous posts I have made in regards to the subject), then would this not further strengthen the argument for a logical, more consistent and dynamic data matching system? I.e. if its one branch it gets condensed right down to just {0} - like flattening a 2D/3D... list, if further down stream other dependencies trigger the creation of more than one branch, of course that is where the existing logic continues to operate as currently programmed with the addition of a dynamic data address system that adapts to the flow/creation of data on-demand. 

To me (and I'm sure to many other new users, and possibly even some more established ones) this type of behaviour would be more predictable, logical, consistent, intuitive and comprehensible.

If its a single branch surely the 'consistent' behaviour would be to default to simply {0}

This feature already exists. Flatten will simplify a Branch right down to {0}

What I would be more interested in is the 1 and the 3 from the example above. As these might signify what geometry and which dependency it is associated with. 

I'm aware that flatten does precisely that, but that isn't relevant to the point. I'm talking exclusively about the behaviour of data matching (Simplify, etc) which has more functionality and therefore an in-built logic.

What I would be more interested in is the 1 and the 3 from the example above. As these might signify what geometry and which dependency it is associated with. 

If I want to simplify a tree to a single index that has one branch I'm not interested in what dependencies are associated with it; I can find that out by looking down stream, so there is no need to retain this information. 

Maybe its terminology, 'Simplify' suggests the simplest version of something. {0, 1, 3} as an example, could quite easily be represented as {0} and would fulfil the expectations of this component. I would argue the vast majority of new users would expect the same behaviour.

Yet again it seems contradictory to say:

{1;1;1;3;0}

{1;1;1;4;0}

{1;1;1;5;0}

would end up after Simplify as:

{3}

{4}

{5}

But the single branch (remove zeros algorithm, as summarised above) would give:

{1;1;1;3} 

In the multiple branch example, is this not losing the 'associated dependencies' you've mentioned? Then why have a completely different behaviour for a single branch? No wonder it so confusing to so many users. If we can crudely describe the above logic acting on multiple branches as condensing data addresses, why does this not apply with a single one? Really this is where the inconsistency rears its ugly head.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service