<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10996453#M48043</link>
    <description>&lt;P&gt;HELLO GUYS,&lt;/P&gt;&lt;P&gt;IS THERE ANY LISP THAT CAN PLACE EQUAL SIZE SMALL CIRCLES INSIDE A BIG CIRCLE?&lt;/P&gt;&lt;P&gt;LISP SHOULD ASK THE DIAMETER OF BOTH THE CIRCLES.&lt;/P&gt;&lt;P&gt;NOTE: THE SMALL CIRCLES SHOULD NOT BE OVERLAP EACH OTHER.&lt;/P&gt;&lt;P&gt;IT WOULD BE REALLY GREAT HELP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MATHEMATICAL EQUATION IS&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;DIV class=""&gt;&lt;FONT&gt;n = (3.14* R^2) / ( 2 * r)^2&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;U&gt;(corrected the formula and have taken reference from&amp;nbsp;&lt;A href="https://www.easycalculation.com/analytical/inner-circular-ring-calculator.php" target="_blank"&gt;https://www.easycalculation.com/analytical/inner-circular-ring-calculator.php&lt;/A&gt;)&lt;/U&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Where,&lt;/STRONG&gt; r = Diameter of Inner Circle&lt;/DIV&gt;&lt;DIV class=""&gt;R = Diameter of Outer Circle&lt;/DIV&gt;&lt;DIV class=""&gt;n = Number of Circles in Inner Ring&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="circle-inside-circle.png" style="width: 250px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1034719i77AB3A10C87F9EE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="circle-inside-circle.png" alt="circle-inside-circle.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2022 12:21:20 GMT</pubDate>
    <dc:creator>arpansark0544TCX</dc:creator>
    <dc:date>2022-03-11T12:21:20Z</dc:date>
    <item>
      <title>IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10996453#M48043</link>
      <description>&lt;P&gt;HELLO GUYS,&lt;/P&gt;&lt;P&gt;IS THERE ANY LISP THAT CAN PLACE EQUAL SIZE SMALL CIRCLES INSIDE A BIG CIRCLE?&lt;/P&gt;&lt;P&gt;LISP SHOULD ASK THE DIAMETER OF BOTH THE CIRCLES.&lt;/P&gt;&lt;P&gt;NOTE: THE SMALL CIRCLES SHOULD NOT BE OVERLAP EACH OTHER.&lt;/P&gt;&lt;P&gt;IT WOULD BE REALLY GREAT HELP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MATHEMATICAL EQUATION IS&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;DIV class=""&gt;&lt;FONT&gt;n = (3.14* R^2) / ( 2 * r)^2&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;U&gt;(corrected the formula and have taken reference from&amp;nbsp;&lt;A href="https://www.easycalculation.com/analytical/inner-circular-ring-calculator.php" target="_blank"&gt;https://www.easycalculation.com/analytical/inner-circular-ring-calculator.php&lt;/A&gt;)&lt;/U&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Where,&lt;/STRONG&gt; r = Diameter of Inner Circle&lt;/DIV&gt;&lt;DIV class=""&gt;R = Diameter of Outer Circle&lt;/DIV&gt;&lt;DIV class=""&gt;n = Number of Circles in Inner Ring&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="circle-inside-circle.png" style="width: 250px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1034719i77AB3A10C87F9EE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="circle-inside-circle.png" alt="circle-inside-circle.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 12:21:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10996453#M48043</guid>
      <dc:creator>arpansark0544TCX</dc:creator>
      <dc:date>2022-03-11T12:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10996689#M48044</link>
      <description>&lt;P&gt;Something's wrong with your formula.&amp;nbsp; In this image [pardon the crudeness -- sketched in the Snipping tool]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1646924863386.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1034757iAE9412EC6EA8EEE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1646924863386.png" alt="Kent1Cooper_0-1646924863386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the length of the red is your pi * R [assuming you meant R rather than R2]. and the green is your 2 * r.&amp;nbsp; Shouldn't the red be in at the centers of the ring of Circles, that is, pi * (R - r)?&amp;nbsp; Even then, it could think more smaller Circles will fit than actually will, at least in some cases, because of the difference between the curvature of the red and the straightness of the green.&amp;nbsp; And shouldn't the &lt;STRONG&gt;full circumference&lt;/STRONG&gt; of a (R - r)-radius virtual Circle be used, so that it's possible to get an odd-number result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should your formula be written this way?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;n = [(3.14 * R) / (2 * r)] * 2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If that's what you intended, I think it should be:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;n = (&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;2 *&lt;/FONT&gt;&lt;/STRONG&gt; 3.14 * &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;[R - r]&lt;/STRONG&gt;&lt;/FONT&gt;) / (2 * r)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but that still needs some compensation for the green being a chord on the red:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1646925278315.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1034764i6EDA03BC31E15ABA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1646925278315.png" alt="Kent1Cooper_1-1646925278315.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:18:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10996689#M48044</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-10T15:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10997644#M48045</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10617541"&gt;@arpansark0544TCX&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at your image, it's clear to me that to achieve what you've shown, simply&lt;/P&gt;
&lt;P&gt;R=3r&lt;/P&gt;
&lt;P&gt;I suspect it gets more complicated with the the more rings you add, but there's probably some formula.&lt;/P&gt;
&lt;P&gt;I doubt that pi has anything to do with the number of circles otherwise n would come out to be a real number&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 22:41:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10997644#M48045</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2022-03-10T22:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998185#M48046</link>
      <description>&lt;P&gt;Hmm&amp;nbsp;&lt;A href="https://www.engineeringtoolbox.com/smaller-circles-in-larger-circle-d_1849.html" target="_blank" rel="noopener"&gt;Smaller Circles within a Larger Circle - Calculator (engineeringtoolbox.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enter 10 &amp;amp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_1-1646977410668.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1035014i2A430A65DA8C5DD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_1-1646977410668.png" alt="SeaHaven_1-1646977410668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another&amp;nbsp;&lt;A href="https://www.quora.com/How-can-I-work-out-how-many-small-circles-I-can-fit-into-a-big-circle-See-additional-information" target="_blank"&gt;How to work out how many small circles I can fit into a big circle - Quora&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 05:47:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998185#M48046</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-03-11T05:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998563#M48047</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... Looking at your image, it's clear to me that to achieve what you've shown, simply R=3r ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's not the task.&amp;nbsp; From Message 1:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"LISP SHOULD ASK THE DIAMETER OF BOTH THE CIRCLES."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The task is, given those user-specified values that could be of any ratio to each other, to &lt;STRONG&gt;find n&lt;/STRONG&gt;, the &lt;STRONG&gt;n&lt;/STRONG&gt;umber of smaller Circles that can be fit into the larger one without overlaps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 12:48:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998563#M48047</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-11T12:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998591#M48048</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10617541"&gt;@arpansark0544TCX&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;Formula:&lt;/P&gt;
&lt;DIV class=""&gt;&lt;FONT&gt;n = (3.14* R^2) / ( 2 * r)^2&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;U&gt;(corrected the formula and have taken reference from&amp;nbsp;&lt;A href="https://www.easycalculation.com/analytical/inner-circular-ring-calculator.php" target="_blank" rel="noopener"&gt;https://www.easycalculation.com/analytical/inner-circular-ring-calculator.php&lt;/A&gt;)&lt;/U&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That website is wrong, in solving for a term [&lt;STRONG&gt;n&lt;/STRONG&gt;] with a formula that has the same term in it.&amp;nbsp; But it looks like you've corrected its error, using [approximately] &lt;STRONG&gt;pi&lt;/STRONG&gt; in place of their &lt;STRONG&gt;n&lt;/STRONG&gt;&amp;nbsp;in the right side of the equation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I don't think it's a valid formula anyway.&amp;nbsp;&amp;nbsp;&lt;FONT&gt;&lt;STRONG&gt;(3.14 * R^2)&lt;/STRONG&gt; is the area of the larger Circle, but&amp;nbsp;&lt;STRONG&gt;(2 * r)^2&lt;/STRONG&gt; is the area of a &lt;STRONG&gt;square&lt;/STRONG&gt; whose edge length is the diameter of the smaller Circle.&amp;nbsp; The smaller Circles wouldn't [except in very rare circumstances] be in a square-grid arrangement, so that can't be what you really want to divide into the larger Circle's area.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 13:01:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998591#M48048</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-11T13:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998618#M48049</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hmm&amp;nbsp;&lt;A href="https://www.engineeringtoolbox.com/smaller-circles-in-larger-circle-d_1849.html" target="_blank" rel="noopener"&gt;Smaller Circles within a Larger Circle - Calculator (engineeringtoolbox.com) ....&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There's something wrong with their formula, too, to the degree that it is capable of reporting a number different than it draws:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1647004283380.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1035099iE08D960CC99D8DD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1647004283380.png" alt="Kent1Cooper_0-1647004283380.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 13:15:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998618#M48049</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-11T13:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998645#M48050</link>
      <description>&lt;P&gt;I have found this website which could help us make a lisp for this particular problem&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.packomania.com/" target="_blank"&gt;http://www.packomania.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 13:22:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998645#M48050</guid>
      <dc:creator>arpansark0544TCX</dc:creator>
      <dc:date>2022-03-11T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998915#M48051</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10617541"&gt;@arpansark0544TCX&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have found this website which could help us make a lisp for this particular problem&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.packomania.com/" target="_blank" rel="noopener"&gt;http://www.packomania.com/&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm not sure it will help.&amp;nbsp; It seems to be based on different input -- you tell it &lt;STRONG&gt;how many smaller Circles you want&lt;/STRONG&gt; to pack into a larger one, and &lt;STRONG&gt;it determines the maximum radius&lt;/STRONG&gt; of the smaller Circles that can fit.&amp;nbsp; That's approximately the opposite of your original question.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 15:02:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10998915#M48051</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-11T15:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10999596#M48052</link>
      <description>&lt;P&gt;I figured out a calculation to get as many in a "tier" of smaller Circles as possible without them overlapping, including consideration of the chord across the virtual circle that goes through the centers of the smaller Circles.&amp;nbsp; Try this:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(defun C:CinC (/ drawtier radout radin ctr) ; = Circles [smaller] INside Circle [larger]
  (defun drawtier (/ radinter qua)
    (cond
      ((&amp;gt; radin (/ radout 2)); only one fits
        (command "_.circle" "_non" ctr radin); only one fits
      ); only one condition
      ((= radin (/ radout 2)); exactly two fit
        (command
          "_.circle" "_non" (polar ctr 0 radin) radin
          "_.circle" "_non" (polar ctr pi radin) radin
        ); command
      ); exactly two condition
      (T
        (setq radinter (- radout radin))
        (setq qua (fix (/ (* radinter 2 pi) (* radin 2)))); first-shot quantity around edge
        (while (&amp;lt; (* radinter (sin (/ pi qua))) radin); arrayed Circles would overlap
          (setq qua (1- qua)); reduce quantity
        ); while
        (command
          "_.circle" "_non" (polar ctr 0 radinter) radin
          "_.array" "_last" "" "_polar" "_non" ctr qua "360" "_no"
        ); command
      ); [possibly] more-than-two condition
    ); cond
  ); defun -- drawtier
  (while
    (not
      (and
        (setq radout (getdist "\nRadius of larger outer Circle: "))
        (setq radin (getdist "\nRadius of smaller Circle(s) to fit into larger Circle: "))
        (&amp;gt;= radout radin)
      ); and
    ); not
    (prompt "\nSecond radius must be no greater than first radius.")
  ); while
  (command
    "_.circle" (setq ctr (getpoint "\nCenter: ")) radout
    "_.zoom" "_object" "_last" ""
  ); command
  (while (&amp;gt;= radout radin)
    (drawtier)
    (setq radout (- radout (* radin 2)))
  ); while
  (princ)
); defun -- CinC&lt;/LI-CODE&gt;
&lt;P&gt;It made these.&amp;nbsp; The outer Circle radius is 10 in all cases; the smaller radius is the number beside each one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1647029439581.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1035269i5ADC6AFBEC393BBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1647029439581.png" alt="Kent1Cooper_1-1647029439581.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There can be relationships between the two radii under which a strictly-tiered-polar-Array-ring approach would not yield the absolute maximum that could fit in, but being a little bit irregular toward the center can accommodate more.&amp;nbsp; For example, on the left is what the&amp;nbsp;&lt;STRONG&gt;CinC&lt;/STRONG&gt;&amp;nbsp;command does with &lt;STRONG&gt;10&lt;/STRONG&gt; and &lt;STRONG&gt;2.3&lt;/STRONG&gt;, but on the right, with a &lt;STRONG&gt;not&lt;/STRONG&gt;-polar-Array adjustment in the middle, one more can be squeezed in:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_2-1647030692607.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1035280iEDABDA7386DDFA22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_2-1647030692607.png" alt="Kent1Cooper_2-1647030692607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But I don't know of a way to calculate for that possibility in the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 20:35:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10999596#M48052</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-03-11T20:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10999995#M48053</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's fascinating!&lt;/P&gt;
&lt;P&gt;I had been thinking only of all little circles touching their neighbors (tangency without regard for "direction"&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;).&lt;/P&gt;
&lt;P&gt;I guess you do the packing when the family goes on vacation, right?&amp;nbsp; And there's room left over for the golf clubs too.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 01:04:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/10999995#M48053</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2022-03-12T01:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: IS THERE ANY LISP TO DETERMINE SMALL CIRCLES INSIDE BIG CIRCLE</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/11000192#M48054</link>
      <description>Thanks, Sir @ Kent1Cooper.&lt;BR /&gt;This is working like a miracle.</description>
      <pubDate>Sat, 12 Mar 2022 04:53:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/is-there-any-lisp-to-determine-small-circles-inside-big-circle/m-p/11000192#M48054</guid>
      <dc:creator>arpansark0544TCX</dc:creator>
      <dc:date>2022-03-12T04:53:27Z</dc:date>
    </item>
  </channel>
</rss>

