Grasshopper

algorithmic modeling for Rhino

Sectioning multiple objects results in tree! How?

Hello.

Can someone help me accomplish this apparently simple task in grasshopper.
I think it's an interesting problem also.

Here's the deal:

- I have several solids (or surfaces for that matter) that I want to section horizontally (not slice, I want the resulting contour like curves).

-I have a list of numbers representing the spacing between each section z
*I created a vbscript component to transform this spacing list into a list of specific z coordinates (is there a simple way)
- created the z vector and feed it to a move component to place horizontal slicing planes
-Finally created a "section" component to get the section curves

Seams fine till now.
The problem is that I would like to extrude resulting curves with different heights.
-I created the "extrude" conponent and linked it to a list of z vectors.

No luck...
It didn't extrude each curve with the corresponding vector.
And...even if it would...
Can I create a branch for each section operation? 
I mean, sections for each slicing plane in a tree branch? (And I guess this is the subjects question :-)

Can someone help do this or at least give up doing it??

Thanks

PS: I attached test grasshopper file and model

Views: 338

Attachments:

Replies to This Discussion

Ok...think I got it.
I just need to study more about tress..
Found answer here http://www.grasshopper3d.com/forum/topics/creating-multiple-surface...

I don't quite understand the intricacies of trees but I understand that the results aren't already formated was tress...but...really must study this issue hard.

I posted my updates script if someone is willing to analyze it and see if there's anything that could be simplified.

Thanks
Attachments:

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