Grasshopper

algorithmic modeling for Rhino

I want to let the gh calculate  my towers floor area from 10th floor to the top, for each tower

I have solved this when there is only one tower : find the floors, flatten them, sub list the floors in the top half, calculate them


But when there are more towers then one, I can not solve the data tree problem. 

The rhino file and gh file shows my work(rhino 4, gh 8.001)




I think I need a help on data tree:    for example, if i have the datas like(A,B,C)  I want to flatten the B and C but still keep the A draft. So I can sub list the floors and still calculate EACH towers top floor areas

Views: 747

Attachments:

Replies to This Discussion

There are a few things going on here:

1. the section component accepts a plane, not a surface, so you can get rid of the portion of the definition that creates a circle of radius 40 with a planar surface. Simply connecting the HFrame component to the P input of the section will suffice.

2. currently, you are flattening the results in the list subset component - disable this. The graft component prior to this connection is also unnecessary. connect the output from the planar surface component to a path mapper, and enter the following mapping: Source: {0;A;0;B} Target: {0;A}. This effectively removes the list separation from each section cut, but preserves the distinction between the two towers. Finally, turn off the flatten in the Mass Addition component.

Hope that helps!
Heumann thank you soooooooooooooo much.

You are so nice to finish testing correcting and elaborate the right way.

I have solved the problem.

thank you

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