Grasshopper

algorithmic modeling for Rhino

Hello people!

I am having some trouble with two specific Grasshopper [ 06.0019] definitions at the moment... I would appreciate any feedback or - even better - any kind assistance...

The first one is the "Surface Populating" definition: I manage to populate my geometry over the surface, but after I bake it, I have to delete the boxes that define my components limits as well! Is there any way of populating and baking only the chosen component, without having to delete the boxes afterwards?

Secondly:

Basically: I am trying to cover a surface with two types of components [ an open one and a closed one] , which will be proliferated over my tubular surface according to the main sunlight direction.

1. I introduce the surface component.
2. I use "Divide Interval2" in order to have division into U and V.
3. i generate the target boxes [ "surfaceBox"] .
4. I use "Isotrim" ( same intervals) and "BRepArea" to find centroid of each area.
5. My "Curve" component introduces sun angle, with its "End Points".
6. I use "Vector 2Pt" to specify sun-light direction.
7. I want to measure the angle between sun-light and the surface normals, at the position of each component; after generating the centre points, I need the normals of each centre point to get the surface's points' UV, and "Evaluate" the srf at points.
8."Angle" and "Vector" components: I use them in order to evaluate the angle between the sun direction and the srf.
9. I convert this angle to degree by using a "Function" [ to see if the angle is bigger from the max.angle or not...]
10. Function "x,y" gives me boolean data.
11. Data become "Dispatch"ed...
12. Two "Morph" components , each one linked to one part of the "Dispatch" data, generate "closed" and "open" components over the srf.

The result should have been different types of components, based on the surface's curvature, diraction and sun-light direction...

I do not understand where the mistake is in this definition...

Thx in advance1

Spyros K.

Views: 900

Attachments:

Replies to This Discussion

Hi Spyros
See the attachment, I tried to modify your definition, are you looking for something like this?
About your first question, did you bake only the surface component or the definition?
I hope to be helpful, let me know.

Paolo
Attachments:
Thank you very much for your kind help, Paolo!

[ As far as baking is concerned, I baked the definition...]

I really appreciate your help! Keep in touch!

All the best,

Spyros.
Hello again, Paolo!

Just a short question: how can I test this modified .ghx of yours? I tried to open it, and it is all code [ I only know how to deal with GH component definitions :-| ] Could you please assist me on that? Thx again!

S.
Try clickin' right button and save as or save target as..and then u'll have ur ghx file ready to use (I tested the modified definition by the way)
Thank you very much for the info, RGR!

Best,

SK

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service