Grasshopper

algorithmic modeling for Rhino

Just noticed something - I have a case where setting an input to flatten and reverse does not yield the same result as putting the data through a flatten component first and then setting the next component's input to reverse. 

Seems like the data was reversing first and then flattening (which was the opposite of what I wanted, although I'm sure sometimes people would want it this way).

Is there a certain priority that occurs when setting inputs to things like flatten, reverse, graft, simplify?

-Brian

Views: 1141

Replies to This Discussion

Obviously yes. The post-processes are not all commutative so the order in which they are executed does matter. You cannot change the order, it is predefined by me. All you can do is decide whether a certain post-process is applied. The order is as follows:

  1. Reverse
  2. Flatten
  3. Graft
  4. Simplify
  5. Then a bunch of commutative operations such as expressions, boolean inverting, curve and surface reparameterization, vector unitization.

I could make it customizable, for example by making the post-process icons draggable, but at present you'll have to use dedicated components if you need a different order of operations.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks for the reply, David.
I realized a little while after posting that making it customizable wouldn't really make anything significantly simpler or less time consuming.

Thanks for the clarification.
Brian

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service