Cool, glad you are enjoying this and following along. More changes…
ripples_2019Jun010a.gh (74.6 KB)
“radial rectangles” has been replaced by the more general “rectangles on curve”, a circle being just one possible curve. So there are now four ways to define the list of rectangles used by the model, one of them with three example curves, all moved “above the fold” since the model doesn’t care how the rectangles are created.
Added displays for “grid points”, “Expression kOps” and a “fuse” feature in the "“Ripple Points” group, ‘Max_kOps’ (red slider), to throttle the maximum number of slow Expression evaluations.
As explained in the model:
=== NOTES ===
The “fuse” feature in the ““Ripple Points” group, ‘Max_kOps’ (red slider),
works best when the slow grid points ‘Expression’ and ‘Dist’ components
(red group) are disabled (”!!! SLOW AT HI-RES !!!").The displays for “grid points” and “Expression kOps”, the “Caliper” and
“Ripple Preview” features still work at high resolution.(optional) Reduce delay in Data Dam preceding it from 10 secs. to “Always”.
Also note that a Repeat data component has been inserted in the lime green group. This is done so that if there are more ripple points than wave forms defined, the whole set will be reused instead of repeating the last waveform. Note that the ‘Scale’ group now has a “Steps” slider instead of using the number of ripple points, as before.
The composite rippled surface is finished at SrfGrid in the gold group. The green “base” group adds sides and a bottom to make a “Closed Brep” solid from each rectangular surface (the green Join to be baked).
Exaggerated amplitude can be useful for Caliper tool with red ”!!! SLOW AT HI-RES !!!" group disabled:
12 ripple points, 6 wave forms, 21 rectangles (3" X 16"), 11 ‘ptsPerUnit’ resolution, 126,378 grid points, 1,517 “Expression kOps” (1,517,000 Expression ops!), ~2 minutes: