Grasshopper

algorithmic modeling for Rhino

it is very simple:let a curve to a double offset multiline..... ,but if we see the data tree,we can see that after the "offset"component,the data tree has became "deeper"....i donnot know why it need to become deeper,can anyone tell me why?thank u very much!

Views: 380

Replies to This Discussion

Every time GH is going to generate geometry based on another is is going to extend branches.

 

If you had a slightly different setup with two input curves and two offset distances and you wanted each curve to have both +ve and -ve. The results would look like this

{0:0:0} N=1

{0:0:1} N=1

{0:1:0} N=1

{0:1:1} N=1

where by every resulting curve has a branch to itself.

 

This data structure allows you to categories the results for example you could [Shift Paths] =-1 to get

{0:0} N=2

{0:1} N=2

Thus placing every offset of each curve on their own branch.

 

Or further still [Shift Paths] =-2

{0} N=4

Placing all of the offset curves from this component on one single branch

 

So your setup with a single curve allows you to treat each one as a separate item or combine them onto a single branch, hence the extra level.

thank you very very much!!!i have understood!

"Every time GH is going to generate geometry based on another is is going to extend branches."

 

That actually isn't supposed to happen. GH should only extend branches when there are potentially multiple answers to a single question. For example offsetting a single curve might result in several segments, which is why Offset extends the data tree.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

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