algorithmic modeling for Rhino
Hi!
I'm learning GH by following [FORMul[a]RCH] from gh3d tutorial page
but the contour component couldnt seems to work, I mean the curve does not copy up, and i cant figure out what problem is that.
Additionally, could anyone explain why he used End component at the beginnings then deconstruct points and plug into distance with maths.. Im very confused why was that..
plz see attached gh&rh files :)
and the website http://formularch.blogspot.com.au/2012/05/gh-graph-tower.html
Thanks for any help!!
Wayne
Tags:
Hi,
in your attached definition you need to start this definition by inputting a vertical curve/line. The slab (which is created from a polygon or closed curve is added further along in the definition.
Also, try using the divide component to divide the periodic curve in your definition rather than the contour component.
As for deconstructing the points, the purpose is to retrieve the z values of the start and endpoints so that the subtraction yields the length of the curve. This length is then divided to create the length between the contours.
Hope this helps. I was going to post a definition, but yours will work just fine if you input a vertical curve/line.
Hi Erik!
Awesome! thanks for your great help! :D
I didnt realize the 'contour' component is for the vertical line, but the 'slab' itself, thats why i used it wrong..
I looked at the definition you made, there are some component i dont understand.
For the 'deconstruct point', is there a reason why we use that rather than just pluging a slider to the 'distance(D)' input? cause it seems working the same way
Thanks
wayne
Hi wayne,
Glad to help. Yes that is an easy mistake to make with the exercise since I made it myself at first :)
You are right that plugging in a slider to the 'distance' input works to set the contour intervals; however, in order to make the script parametric, the distances need to be intervals dependent on the length of the input curve. The only way to achieve this is to measure that curve's length, divide it, and feed it into the 'distance' input. Of course, there are different ways you can measure the distance of the input curve without 'deconstructing' the points as that is just one approach.
Hope this helps.
Erik
For some reason my response got deleted.
Anyway, I made the same mistake initially:)
Furthermore, in order to make your definition parametric, you cannot simply plug in a number slider to the distance input of the 'contour' component. The reason is that the contour intervals must be dependent on the length of the input curve for the definition to remain parametric.
Hope this helps,
Erik
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by