<?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 Re: Need to automatically generate compound miter angles. in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734260#M34768</link>
    <description>&lt;P&gt;Exactly&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 20:52:44 GMT</pubDate>
    <dc:creator>mwynnHEUS9</dc:creator>
    <dc:date>2023-02-06T20:52:44Z</dc:date>
    <item>
      <title>Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11727461#M34759</link>
      <description>&lt;P&gt;I am in need of a lisp routine to automatically generate compound miter angles to create a 90 degree bend with an angled panel like the one attached. The red circles in the dwg file are the miter angles that need to be automatically generated. The green circles in dwg file are good miter angles.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 14:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11727461#M34759</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-03T14:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11730394#M34760</link>
      <description>&lt;P&gt;&amp;nbsp;If happy with this drag over solution it will then fillet and add the mitre line. This allows for select sequence of entities. Others may have a solution already this would be my approach.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 23:00:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11730394#M34760</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2023-02-04T23:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11733413#M34761</link>
      <description>&lt;P&gt;I don't exactly understand what you are trying to say.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 15:57:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11733413#M34761</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-06T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11733600#M34762</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13454456"&gt;@mwynnHEUS9&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... generate compound miter angles to create a 90 degree bend with an angled panel like the one attached. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you talking about bending the perimeter strip parts of a piece of sheet material up 90° to make a "tray" situation, with the edges of the bent-up strips meeting to form corners, like this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1675701855753.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172323i147C103B97BF687A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1675701855753.png" alt="Kent1Cooper_1-1675701855753.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[The green is the original, the blue solid are the folded-up strips.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, at the &lt;EM&gt;internal&lt;/EM&gt; corner you won't be able to have them meet at what I assume is the intended corner [yellow], because the sheet needs to be cut at the dotted red line, and folding the adjacent pieces up results in the blue.&amp;nbsp; More material would need to be added to fill in the triangular areas and close the corner.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_2-1675702026632.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172326i6FECA423A77AE4F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_2-1675702026632.png" alt="Kent1Cooper_2-1675702026632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is your intent something different from my assumptions?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 16:50:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11733600#M34762</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-02-06T16:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11733721#M34763</link>
      <description>&lt;P&gt;The intent is to be able to have a tray situation like you are talking about be able to go around a 90 degree corner at an angle.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 17:26:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11733721#M34763</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-06T17:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734005#M34764</link>
      <description>&lt;P&gt;If I understand correctly, at your &lt;EM&gt;lower&lt;/EM&gt; red-circled corner, all you need is to add these &lt;FONT color="#FF00FF"&gt;magenta&lt;/FONT&gt; lines:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1675710471809.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172403i91DE023C405F081D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1675710471809.png" alt="Kent1Cooper_0-1675710471809.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and it's the same as at your green-circled corners -- those edges will meet when folded up 90°.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the &lt;EM&gt;upper&lt;/EM&gt; red-circled corner, illustrated in 3D view in my previous Reply, here's the plan view showing the same dotted red line where the sheet material would have to be cut, if that helps illustrate why bending the edges up is not going to be able to make the corner I think you want.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1675710677941.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172405i2943DC51059995A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1675710677941.png" alt="Kent1Cooper_1-1675710677941.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or am I misunderstanding?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 19:13:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734005#M34764</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-02-06T19:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734103#M34765</link>
      <description>&lt;P&gt;You are understanding correctly partially. The white line that goes through the center of the part is also a 90 degree bend. So the two sides have to fold up to make a 90 degree connection but also have to be able to be a corner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 19:57:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734103#M34765</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-06T19:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734234#M34766</link>
      <description>&lt;P&gt;Something is going to have to bend to meet something else.&amp;nbsp; Here, the blue are the "base" or "main" surfaces, with the 90° bend between the two, and the green the edges bent 90° from the blue.&amp;nbsp; At the outer corner:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PlateBend-OuterCorner.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172445i94D9C50DDC13D12E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PlateBend-OuterCorner.gif" alt="PlateBend-OuterCorner.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And at the inner corner:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PlateBend-InnerCorner.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172454i82F715BD032A7B9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PlateBend-InnerCorner.gif" alt="PlateBend-InnerCorner.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 20:45:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734234#M34766</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-02-06T20:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734256#M34767</link>
      <description>&lt;P&gt;Are you looking to have a program that calculates the miter and bevel angle for two board (e.g., crown molding) that come together at a corner?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&amp;nbsp; here are two boards tilted back by 30° for a 90°corner.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_0-1675712618773.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172412iA64764D0BD7FAD2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1675712618773.png" alt="leeminardi_0-1675712618773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After trimming the pieces (I used Boolean subtracts) we have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_1-1675712686039.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172413i6A8DF8F81902622E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_1-1675712686039.png" alt="leeminardi_1-1675712686039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As noted below, the miter angle is 40.89° and the bevel angle is 26.57° for the 30° tilt.&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="leeminardi_2-1675712952156.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172415i94FD3404C5F22622/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_2-1675712952156.png" alt="leeminardi_2-1675712952156.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a tilt angle of 30° and a wall angle of 90° the miter angle agrees with the result from the formula&amp;nbsp;found &lt;A href="https://jansson.us/nsideboxderive.html" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;miter angle =&amp;nbsp; atan (cos(tilt angle) * tan (wall angle /2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the bevel angle is not the same using the formula from the same reference.&lt;/P&gt;&lt;P&gt;bevel angle&amp;nbsp; = asin(sin(tilt angle) * sin(wall angle)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps I'm misinterpreting something!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this the calculation you want to automate. Do you just need the miter angle?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 20:51:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734256#M34767</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2023-02-06T20:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734260#M34768</link>
      <description>&lt;P&gt;Exactly&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 20:52:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734260#M34768</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-06T20:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734303#M34769</link>
      <description>&lt;P&gt;But, it's for flat pieces of metal to get bent in multiple directions&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 21:15:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734303#M34769</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-06T21:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734487#M34770</link>
      <description>&lt;P&gt;It's not clear what you want to input and what you want for output.&lt;/P&gt;&lt;P&gt;Looking at your drawing should it be assumed that Panel A and Panel B are rectangular and will form an angle alpha (measure in a plane perpendicular to the fold axis)&amp;nbsp; and you want to know the angle for the tabs cuts circled in red?&amp;nbsp; Or, is panel A a parallelogram and will be folded by 90° or ???&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would help to have detailed example of what you are given and what results you would like.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_0-1675722710787.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172487i2AC566D2984A4A28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1675722710787.png" alt="leeminardi_0-1675722710787.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 22:35:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734487#M34770</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2023-02-06T22:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734739#M34771</link>
      <description>&lt;P&gt;Took a bit of cardboard and possibly worked it out for a 90 bend.&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_0-1675729630210.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172535iB106EFACCF094B21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1675729630210.png" alt="SeaHaven_0-1675729630210.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_1-1675729662844.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172536i2DA9C9F42CFBA046/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_1-1675729662844.png" alt="SeaHaven_1-1675729662844.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The mitre angle is 1/2 bend angle. Not complicated just draw line at correct angle.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 00:29:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11734739#M34771</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2023-02-07T00:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11736169#M34772</link>
      <description>&lt;P&gt;Yes. This is what I am looking for but for all angles not just a 90 degree angle. I also attached an example of what would be given and what would be produced.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 13:26:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11736169#M34772</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-07T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11736470#M34773</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13454456"&gt;@mwynnHEUS9&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... an example of what would be given and what would be produced.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's a much better example than the first one, but I think some things are incorrect.&amp;nbsp; If the right-most part is a side elevation with bends bent, then if the &lt;FONT color="#FF0000"&gt;70° bend&lt;/FONT&gt; is as shown, then what is labeled as a&amp;nbsp;&lt;FONT color="#00FF00"&gt;30° bend&lt;/FONT&gt; should be like &lt;FONT color="#00FF00"&gt;this&lt;/FONT&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1675779482428.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172859i760A865D7D9E7F74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1675779482428.png" alt="Kent1Cooper_0-1675779482428.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should the 30° bend really be called &lt;STRONG&gt;110°&lt;/STRONG&gt; as it is drawn in your side view?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_3-1675780134066.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172871i5A77ADEF73559EFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_3-1675780134066.png" alt="Kent1Cooper_3-1675780134066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And if that's the configuration, the notches for the bent-up edges along the side need to be corrected:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_4-1675780346439.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172872iAE978BE0EBDDF639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_4-1675780346439.png" alt="Kent1Cooper_4-1675780346439.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In any case, for the angle of the longer diagonal edge:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_5-1675782194406.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1172905iFF978528F643375E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_5-1675782194406.png" alt="Kent1Cooper_5-1675782194406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 15:03:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11736470#M34773</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2023-02-07T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11736505#M34774</link>
      <description>&lt;P&gt;Exactly. I just wrote the wrong number in there when I made the mach up.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 15:14:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11736505#M34774</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-07T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11737840#M34775</link>
      <description>&lt;P&gt;With help from some of &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;'s&amp;nbsp;comments I've come up with the following that I think does what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, wall angle = 60°, bend angle 110°&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_0-1675809017544.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1173221iEA85D6E11D97FB61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1675809017544.png" alt="leeminardi_0-1675809017544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Calculate cut angle&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_1-1675809134397.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1173224iB4BAAB05ED03EFB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_1-1675809134397.png" alt="leeminardi_1-1675809134397.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:CutAngle (/ WallAng BendAng andRad angDeg)
; calculates cut angle given wall angle and bend angle  
(setq WallAng (getreal "\nEnter wall angle.")
      BendAng (getreal "\nEnter bend angle.")
      angRad     (atan (*
		      (/ 1. (sin (d2r BendAng)))
		      (tan (/ (d2r WallAng) 2.))
		    )
	      )
      angDeg (/ (* angRad 180.) pi)
)
(princ "\nThe cut angle is: ")
(princ angDeg) (princ)  
  )
			   
(defun d2r (d) (/ (* d pi) 180.))
(defun tan (a) (/ (sin a) (cos a)))
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 22:35:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11737840#M34775</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2023-02-07T22:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need to automatically generate compound miter angles.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11739588#M34776</link>
      <description>&lt;P&gt;While this is helpful this isn't exactly what I am needing. I need it to do this but draw the part.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-to-automatically-generate-compound-miter-angles/m-p/11739588#M34776</guid>
      <dc:creator>mwynnHEUS9</dc:creator>
      <dc:date>2023-02-08T13:40:26Z</dc:date>
    </item>
  </channel>
</rss>

