<?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 How would you generate this shape in 3D using Lisp ? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093600#M46831</link>
    <description>&lt;P&gt;Hi guys, any idea on how to generate this type of shape in 3D using Lisp ?&amp;nbsp;Idea being that&amp;nbsp; the user would input a few parameters and the 3d shape would generate from those inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not looking for this Lisp itself, just some general ideas as to ''how you would go about it'' ....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's call a Continous Radial Pile or Circular Pile Arragement; used in bulk handling.&amp;nbsp;&amp;nbsp;Both end would need to be rounded as shown on the left hand side of the pile.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05.png" style="width: 277px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052485iB3C314D4F553057E/image-dimensions/277x155?v=v2" width="277" height="155" role="button" title="05.png" alt="05.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the ideas !&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2022 15:18:15 GMT</pubDate>
    <dc:creator>dany_rochefort</dc:creator>
    <dc:date>2022-04-08T15:18:15Z</dc:date>
    <item>
      <title>How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093600#M46831</link>
      <description>&lt;P&gt;Hi guys, any idea on how to generate this type of shape in 3D using Lisp ?&amp;nbsp;Idea being that&amp;nbsp; the user would input a few parameters and the 3d shape would generate from those inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not looking for this Lisp itself, just some general ideas as to ''how you would go about it'' ....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's call a Continous Radial Pile or Circular Pile Arragement; used in bulk handling.&amp;nbsp;&amp;nbsp;Both end would need to be rounded as shown on the left hand side of the pile.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05.png" style="width: 277px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052485iB3C314D4F553057E/image-dimensions/277x155?v=v2" width="277" height="155" role="button" title="05.png" alt="05.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the ideas !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 15:18:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093600#M46831</guid>
      <dc:creator>dany_rochefort</dc:creator>
      <dc:date>2022-04-08T15:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093694#M46832</link>
      <description>&lt;P&gt;Two PLINE commands, one UCS command and one EXTRUDE command should do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Given a center point [white Point], and either a mid-line radius [inner grey Arc] and a width for the base, or inner and outer radii for the base [for the grey outline], a routine could calculate vertex locations to draw the through-the-&lt;U&gt;quarter-widths&lt;/U&gt; magenta Polyline easily enough.&amp;nbsp; Then with a tilt-up UCS based on an end of the center-line Arc, and given a height at the ridge, it could make the yellow triangle with its heel at the center point of one swung end.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1649432683578.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052501iF74512492FF8C312/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1649432683578.png" alt="Kent1Cooper_0-1649432683578.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Extruding that yellow triangle along that magenta Polyline as a Path gives this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_1-1649432866028.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052504i5E2AD7A7580DDAA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_1-1649432866028.png" alt="Kent1Cooper_1-1649432866028.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The quarter-widths route of the Polyline path is what achieves rounding of the ends.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[The grey parts in the first image are for illustration -- they would not need to be drawn as part of the routine, nor would the Point in the middle.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The inner grey Arc here is 3/4 of a full circle -- presumably an amount of included arc would also be a parameter the User would specify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 16:12:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093694#M46832</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-04-08T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093921#M46833</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;, thank you very much !&amp;nbsp; That is genius...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 17:02:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11093921#M46833</guid>
      <dc:creator>dany_rochefort</dc:creator>
      <dc:date>2022-04-08T17:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094036#M46834</link>
      <description>&lt;P&gt;I don't know why it didn't occur to me to just use the outline of the base directly, with the tip of the yellow triangle on it, this way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kent1Cooper_0-1649439953053.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052610i0527217E8AC8641E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kent1Cooper_0-1649439953053.png" alt="Kent1Cooper_0-1649439953053.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But for some reason, it says it can't Extrude that triangle in this situation.&amp;nbsp; It's not that it doesn't touch the path -- INTersection Osnap says they touch.&amp;nbsp; I tried it in both the WCS and the triangle's UCS.&amp;nbsp; It's all accurately drawn with good Snap values.&amp;nbsp; I couldn't say why the previous approach works but this doesn't, but as long as something does....&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 17:49:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094036#M46834</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-04-08T17:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094093#M46835</link>
      <description>&lt;P&gt;I will check that out also... Thx!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 18:11:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094093#M46835</guid>
      <dc:creator>dany_rochefort</dc:creator>
      <dc:date>2022-04-08T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094543#M46836</link>
      <description>&lt;P&gt;One way is to subtract an inverted cone from a larger upright cone,&lt;/P&gt;&lt;P&gt;then slice off a quadrat with a triangular prism, or equivalent,&lt;/P&gt;&lt;P&gt;then add an upright cone on the left end, which would show half.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 23:07:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094543#M46836</guid>
      <dc:creator>stevor</dc:creator>
      <dc:date>2022-04-08T23:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094765#M46837</link>
      <description>&lt;P&gt;Hi Kent did you rotate3d the triangle ? All done in World.&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-1649475674898.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052734i6CA580EDA2DECC11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1649475674898.png" alt="SeaHaven_0-1649475674898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be done as a lisp. RAD1 RAD2 Height.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 03:42:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11094765#M46837</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-04-09T03:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How would you generate this shape in 3D using Lisp ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11095790#M46838</link>
      <description>&lt;P&gt;Here's another way to construct the solid given a closed 2D polyline.&amp;nbsp; Use the Extrude command with the Taper option.&amp;nbsp; It avoids the need to create the triangular cross section.&lt;/P&gt;&lt;P&gt;The following code will create the shape with a taper angle of 25°.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THE TOP VIEW MUST BE ACTIVE WHEN THE COMMAND IS GIVEN!&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:test (/)
; creates a solid with  tapered sides from a closed polyline.  
  (setq ss (ssget))
  (setq en (ssname ss 0))
  (setq ed (entget en))
  (setq p1 (cdr (assoc 10 ed)))
  (setq p2 (mapcar '+ p1 '(0 0 0.1)))
  (command "_extrude" en "" "T" 25.0 p2 "")
)&lt;/LI-CODE&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_0-1649535491639.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1052932iD877156B453BBFA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1649535491639.png" alt="leeminardi_0-1649535491639.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 20:30:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-would-you-generate-this-shape-in-3d-using-lisp/m-p/11095790#M46838</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2022-04-09T20:30:57Z</dc:date>
    </item>
  </channel>
</rss>

