Spiral of half circles

Watched a video titled “Creative People Who Are On Another Level (Amazing Skills And Talent)” and saw this guy build a wooden spiral out of half circles.

wooden_spiral

So wrote a GH model for it, more complicated than I thought, more complicated than necessary?


spiral_2021May15a.gh (29.3 KB)

Interesting to play with the parameters. Depending on ‘Circle_R’ and ‘Count’, there is a minimum ‘Spiral_R’ (radius), below which breaks the spiral. Switch in blue group joins the half circles into a continuous spiral.

spiral_2021May15a2

3 Likes

Grasshopper quirks! :man_facepalming:

When PFrames ‘N’ (Count) is any value other than 3 or 4, the frames are aligned consistently with X-axis horizontal and pointing toward the center. When ‘Count’ is 3 or 4, they are not horizontal and require corrective alignment (yellow group):



spiral_2021May15c.gh (34.2 KB)

Different issue: when ‘Count’ is 3, Angle ‘R’ (Reflex) must be used instead of ‘A’, hence the corrective action in the cyan group.

When ‘Count’ is 30, 33, 35 and perhaps other values, Pipe fails. :sob:

Two other known issues with this code that I didn’t fix:

  1. Due to flattening, it fails to handle multiple circles. (easily fixed)

  2. It works only with circles, not arbitrary curves like ellipses or radiused rectangles,
    (not easily fixed!)