Ripples on a pond - Ben Luce

Please enter the following info in the fields above:

  • Your Name (just type your name, then click Create to add yourself to the list)
  • Paste the link to your BIM 360 folder in the BIM 360 Link field.

Image of My Model

image

Description

The Module 2 Ripples in a pond was completed similarly to the tutorials. A grid of points was created using a code block with the sequence syntax (start..end..step;). The code block was formed for both the x and y direction separately, using number sliders to enable non-square grids and high flexibility. The pebble was modeled as an attractor using a number slider for x and y location (x coord and y coord). The heights of the cylinder were calculated using the Geometry.DistanceTo node. The distance between the pebble and cylinder was multiplied by a "number of waves" slider to increase the frequency of waves. This value was input into the Math.Sin node to simulate the ripple effect. Amplitude and base offset sliders were input to for height adjustment and to make sure there can not be negative height. For the heights of both the dynamo cylinders and Revit elements, the original grid of points at z=0 was translated up the z axis using Geometry.Translate node. The radius of the cylinders was input as a slider but an additional code block was input for automatic calculation. The radius can be calculated by dividing the smaller step size (x or y) by 2.2 to fit inbetween the cylinders with no overlap.