… kinds of ways …
Grasshopper _ Point Distance / Circle Radii

This building-block script is intended to set up a parametric relationship between variable-controlled objects.

List of Dependencies:

number series –> point grid –> referenced Rhino point –> distances between points –> circle radii

Psuedo Script:

  1.  develop a series of numbers for both the X and Y axes
  2.  cross reference the point component to build the grid
  3.  set a point from Rhino (point parameter)
  4.  calculate the distances between set point and every point in the grid
  5.  divide the distances a desired amount to control solution space
  6.  divide grid spacing by 2 to determine the maximum circle radius (to prevent overlap)
  7.  place a circle at every point in the grid
  8.  set radius for each circle based on the set of distance values
  9.  move referenced point for pattern variation (Rhino)

click to enlarge

Download the Grasshopper definition  (Version 0.8.0010)

Comments are closed.

About


... kinds of ways ... is a catalog and resource intending to provide information and tutorials relating to various digital and computational design tools. Beginner to intermediate topics are presented as modules to build upon, and introduce technical methods and related concepts using examples and descriptions.

The site is edited and maintained primarily by Nick Bruscia, University at Buffalo Department of Architecture, and welcomes the contributions of many, so far including Matthew Sama, John Geisler, Robert Texiera, and Kristin Deiure.

The site is a work-in-progress with many more posts planned and currently in the making, both in service to introductory digital media courses at UB, and in support of the various projects and interests of the authors.