How to use a random number function to offset random panels by a few inches

I wanted to fix this off-by-one problem on the group count and got carried away.


arc bark facade_2020Sep20a.gh (64.4 KB)

@trevoro.design, here are some details to note in this model.

  • The ‘arc guides’ (orange group) are done differently, but get the same result.
  • The ‘arch beams’ (gray group) now use Sweep1 instead of Loft. The single rectangular section is now placed inside the base curves and arcs so these beams no longer intersect the lofted surface and panels. Its X and Y dimensions can be set independently.
  • When there is only one group, ‘offset’ (cyan group) uses a Combine component to substitute the average of the the two domain values because Range produces no output.
  • The green group uses a pShift (“smart” PShift) cluster.
  • I re-wrote and clustered the “Color Branches” code as ColorB. You could change that if you want gradient values that are all the same shade, such as gray scale.

Hope this isn’t too much to absorb?

This version replaces the ColorB cluster (in the green group) with ColorG that uses an internal Gradient component. Edit the cluster to change the gradient preset or modify the colors.


arc bark facade_2020Sep20b.gh (63.6 KB)

your the man Joseph i really appreciate it!

You could replace Arc with IntCrv, which is kind of cool: