Hello everyone.
I am trying to make a pattern similar to the one shown in the pictures that fits inside the surface but I can’t find a precise and controlled way to fit the ellipses.
Any help would be greatly appreciated.
get the bounding rectangle of the ellipses. get it’s width and the width of the surface and then use basic algebra to uniformly scale the ellipses so their width matches the surface.
This has no surface in sight but can be adapted to fit any rectangle. Clearly a Bounding Box(Union) describes a relevant rectangle whose dimensions can be calculated without actually using one. Similarly, The R1 and R2 values can be derived, given a rectangle and the number of ‘Cols’ and ‘Rows’.
This was a hack through the weeds until a light bulb went on, identifying the tangent point of two offset ellipses (at 1/2 of R2) and their distance apart (yellow group). That distance was critical!
Standby, I have a much improved version. And I solved the issues of deriving R1 and R2 from rectangular boundary dimensions, ‘Rows’ and ‘Cols’, which I think is very cool.
P.S. Here is the much improved version. It corrects the mislabeling of ‘R1’ and ‘R2’ sliders that were actually ‘D1’ and ‘D2’ (major and minor axis “diameters”). And It allows a single column instead of always working with pairs of ellipses.
The gray ‘Analytics’ group at the bottom shows how to derive ‘R1’ and ‘R2’ from bounding rectangle dimensions ‘XR’ and ‘YR’ using a derived “magic ratio” constant ‘D1_F’ (gold group).
Thanks for your response @jopsa2
i would love to get something similar to that but instead of deforming the ellipses while they get bigger. just maybe get to make them increase in size without deforming by reducing the number of these. scale ellipse grading pattern.gh (18.5 KB)
I’m not sure what you mean - scaling the ellipses uniformly, rather than in one direction? Then you will run into tiling issues, but that’s maybe what you are after.
Can you find an image of the sort of thing you want? Or try drawing it in Rhino, even if the tangencies aren’t perfect.
As proposed by @jopsa2 use the link and use a scale NU (say scale with a factor in X dirrection= in order to work with circles and then go to ellipse with a scale NU with 1/factor in X.