Grasshopper

algorithmic modeling for Rhino

Reverse option within the functions doesn't seems to work

or am i the only one ? :)

Views: 1074

Replies to This Discussion

Hi Tamir,

 

Can you add a screen shot of the problem, as there's very little to go on here.

 

It could be a glitch if Tamir is talking about vectors...

 

I noticed the "Reverse" toggle doesn't give the proper [Reverse Vector] result one might expect.

 

Kick this to David?

I think that's because the reverse toggle only reverses the order in which the data enters the component. Since you only have one vector, the reverse toggle wouldn't change anything. If you had multiple vectors it would reverse their order, but not their directions.

 

The vector reverse component essentially multiplies each component of the vector (x, y, and z) by -1 to give you the new reversed vector.

 

I think you'll have to stick with the vector reverse component.

 

hope that helps

Maybe this answers both questions?

-Brian

Ah yes!

 

You're completely right.  I had figured out exactly what you mention, the "Reverse" toggle only reverses the list order, but then I promptly forgot.

 

A blunder on my part...

 

HOWEVER trying to apply "-V" or "-1 * V" as an outgoing expression doesn't work.

 

A different bug?  Or am I just daft today?

Actually I've had that problem too with expressions applied to the outputs of components. I ran into it once - I figured it was still being worked out so I stick with either placing a function component or applying an expression to the next input.

My hunch is that there is a tree structure with only one item per branch and therefore the list is not being reversed because there is no list to speak of. I could be wrong which is why a screen shot might shed more light on the situation.

Had this problem with list of data - i guess it works within a branch 

so i had to Flatten | Reverse | Graft it back , so i get my result - a bit messy but it works...

 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service