<?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 calc hypotenuse of a triangle lsp help in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433507#M895</link>
    <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I asked AI a question about finding the hypotenuse of a triangle and got an answer, but it doesn't work. Please help me.&lt;/P&gt;&lt;P&gt;thanks for reading&lt;/P&gt;&lt;P&gt;have a nice day...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Apr 2025 05:55:00 GMT</pubDate>
    <dc:creator>nychoe1</dc:creator>
    <dc:date>2025-04-19T05:55:00Z</dc:date>
    <item>
      <title>calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433507#M895</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I asked AI a question about finding the hypotenuse of a triangle and got an answer, but it doesn't work. Please help me.&lt;/P&gt;&lt;P&gt;thanks for reading&lt;/P&gt;&lt;P&gt;have a nice day...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 05:55:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433507#M895</guid>
      <dc:creator>nychoe1</dc:creator>
      <dc:date>2025-04-19T05:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433626#M896</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Bonjour &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1727107"&gt;@nychoe1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;In a first, I would like you to understand that asking for code from an IA (especially in lisp) is a &lt;U&gt;&lt;EM&gt;real false good idea&lt;/EM&gt;&lt;/U&gt;.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;There are people on the web who give examples for learning, go to these sites if you really want to learn.&lt;BR /&gt;They put a lot of effort into people like you.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;If it is just for once and the desire to learn is not your motivation, tell us, and the “humans” present will write your code.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;I usually ignore messages based on an AI’s inability.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Amicalement&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 09:30:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433626#M896</guid>
      <dc:creator>-didier-</dc:creator>
      <dc:date>2025-04-19T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433721#M897</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1727107"&gt;@nychoe1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;... it doesn't work. .&lt;/SPAN&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is never enough information.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 12:15:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433721#M897</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-04-19T12:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433795#M898</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Bonjour &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1727107"&gt;@nychoe1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Here is a screenshot just to show you that humans do better than AI (hihihi)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;I hope this is what you expected. If it is, I will post the code on this forum.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6371688635112w720h540r671" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6371688635112" data-account="6057940548001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6057940548001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6371688635112w720h540r671');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://forums.autodesk.com/t5/video/gallerypage/video-id/6371688635112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Amicalement&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 14:21:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433795#M898</guid>
      <dc:creator>-didier-</dc:creator>
      <dc:date>2025-04-19T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433984#M899</link>
      <description>&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;this is based on the ai's try&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun c:hypotenuse (/ tri_dcl_id)
	(setq tri_dcl_id (load_dialog "triangle.dcl"))
	(if tri_dcl_id
		(if (new_dialog "right_triangle" tri_dcl_id)
			(progn
				(action_tile "accept" "(set_tile \"hypotenuse\" (rtos (sqrt (+ (expt (atof (get_tile \"width\")) 2)
											       (expt (atof (get_tile \"height\")) 2)
				                                                            )
				                                                      )
				                                                )
				                       )
				  		      "
				)
				(start_dialog)
				(unload_dialog tri_dcl_id)
			)
	 	)
	)
)&lt;/LI-CODE&gt;&lt;P&gt;and the dialog&lt;/P&gt;&lt;LI-CODE lang="general"&gt;right_triangle: dialog {
label = "Right Triangle";
  :edit_box {
    key = "width";
    label = "adjacent:";
    width = 15;
    allow_accept = true;
  }
  :edit_box {
    key = "height";
    label = "opposite:";
    width = 15;
    allow_accept = true;
  }
  :text {
    label = "hypotenuse:";
  }
  :text {
    key = "hypotenuse";
    label = "";
    width = 20;
  }
  ok_cancel;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 19:24:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13433984#M899</guid>
      <dc:creator>komondormrex</dc:creator>
      <dc:date>2025-04-19T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13434244#M900</link>
      <description>&lt;P&gt;What ever happened to pythagoras&amp;nbsp; for length ? Right angle triangle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I went to school no AI, bit like Dick Tracy talking to his watch for communication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sin a / a = sin b / b&amp;nbsp; = sin c /&amp;nbsp; c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;o/h others have&lt;/P&gt;&lt;P&gt;a/h a habit&lt;/P&gt;&lt;P&gt;o/a off answering&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 23:55:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13434244#M900</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2025-04-20T23:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13434385#M901</link>
      <description>&lt;P&gt;It helped me a lot. thanks&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 07:58:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13434385#M901</guid>
      <dc:creator>nychoe1</dc:creator>
      <dc:date>2025-04-20T07:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: calc hypotenuse of a triangle lsp help</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13434500#M902</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;What ever happened to pythagoras&amp;nbsp; for length ? Right angle triangle.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Pythagoras's method is exactly what this in the original code does:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (setq hypotenuse (sqrt (+ (* width width) (* height height))))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 11:08:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calc-hypotenuse-of-a-triangle-lsp-help/m-p/13434500#M902</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2025-04-20T11:08:35Z</dc:date>
    </item>
  </channel>
</rss>

