generative modeling for Rhino
I do not understand how to complete the following activity which has been asked of me by my university tutor???
Continuing from the exercise on pp.76-78 of the Grasshopper Primer...
It requires me to modify the grasshopper definition so that the pipes between the two surfaces are smaller in radius towards the centre of the surfaces and larger the further that they are from the surface centre (ends of the surface).
Below is the result which needs to be achieved from this activity.
Given you understood how the colored cubes scaled with distance to the attractor point, you should be able to apply this principle to the radii of the pipes vs. the distance to the mass or surface center of the surface.
Ok I have figured out how to make the radius change further away from a point I put into rhino, but how to I find the centre point of a surface. Brep Component gives me numerous points but I cant figure out how to just select the mid point!
Volume or Area components will return the surface or volume centroid.
a way can be (working on one of the two surfaces) find the UV center of the surface, then find the distances of all the (grid) points of the surface with the center calculated along the surface, then use the list of data for the variation of the pipes radius