<?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: how do I create line/curve that basically looks like a pipe? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042317#M9952</link>
    <description>&lt;P&gt;&lt;SPAN&gt;"The other is the flow path at the bottom of the manhole"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;yea all I need is this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and I think your explanation pretty much matches exactly what I wanted it to do. I am gonna steal your picture and ask in dynamic blocks first.&amp;nbsp; the idea is for it to be highly mutable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if i want to create a function for it, then i would make it so i can let it read an excel file with all the necessary data and just output all the needed flow path without it being highly mutable.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 19:58:12 GMT</pubDate>
    <dc:creator>jeff.wangD95HG</dc:creator>
    <dc:date>2024-09-24T19:58:12Z</dc:date>
    <item>
      <title>how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13039338#M9941</link>
      <description>&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="jeffwangD95HG_1-1727120393524.png" style="width: 382px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412742i7181EA3DDAB179D7/image-dimensions/382x342?v=v2" width="382" height="342" role="button" title="jeffwangD95HG_1-1727120393524.png" alt="jeffwangD95HG_1-1727120393524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;end result will look something like this but it will be a line? polyline?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got some progress by converting an arc into polyline and use pedit to give it width&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeffwangD95HG_2-1727120547813.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412745i54E1D0C3F51F0CFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeffwangD95HG_2-1727120547813.png" alt="jeffwangD95HG_2-1727120547813.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but i couldn't figure out how to make it so that it will not be filled in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 19:44:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13039338#M9941</guid>
      <dc:creator>jeff.wangD95HG</dc:creator>
      <dc:date>2024-09-23T19:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13039373#M9942</link>
      <description>many options here is you wish to explore&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/pipe-end/td-p/1486931" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/pipe-end/td-p/1486931&lt;/A&gt;</description>
      <pubDate>Mon, 23 Sep 2024 20:04:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13039373#M9942</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-09-23T20:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13039392#M9943</link>
      <description>&lt;P&gt;not what I am looking for.&lt;/P&gt;&lt;P&gt;i just need to create something like this on a daily basis&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeffwangD95HG_0-1727122075283.png" style="width: 349px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1412754i6938A494FF81A917/image-dimensions/349x207?v=v2" width="349" height="207" role="button" title="jeffwangD95HG_0-1727122075283.png" alt="jeffwangD95HG_0-1727122075283.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i would like the pipe to be easily mutable in all directions basically. and i basically want it to be 1 singular arc that i can just drag and drop the ends and be done with it.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 20:09:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13039392#M9943</guid>
      <dc:creator>jeff.wangD95HG</dc:creator>
      <dc:date>2024-09-23T20:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13040354#M9944</link>
      <description>&lt;P&gt;Maybe a &lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-9F98F768-F3FF-47E5-B98C-75C8F6F2D268" target="_blank" rel="noopener"&gt;Multiline&amp;nbsp;&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 06:37:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13040354#M9944</guid>
      <dc:creator>Simon_Weel</dc:creator>
      <dc:date>2024-09-24T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13040789#M9945</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/530755"&gt;@Simon_Weel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Maybe a &lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-9F98F768-F3FF-47E5-B98C-75C8F6F2D268" target="_blank" rel="noopener"&gt;Multiline&amp;nbsp;&lt;/A&gt;?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;... if it can be of only straight-line segments.&amp;nbsp; And of course the "cut" end part would need to be in addition.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 10:34:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13040789#M9945</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-09-24T10:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041574#M9946</link>
      <description>&lt;P&gt;I would need it to work with curves. since everything i draw under the manhole will be pretty much curves&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i briefly explored dynamic blocks but no combination of dynamic blocks is making sense in making what I wanted so far.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 15:09:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041574#M9946</guid>
      <dc:creator>jeff.wangD95HG</dc:creator>
      <dc:date>2024-09-24T15:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041815#M9947</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12948469"&gt;@jeff.wangD95HG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;...i would like the pipe to be easily mutable in all directions basically. and i basically want it to be 1 singular arc that i can just drag and drop the ends and be done with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Plain AutoCAD has no such ability, sorry. Is this a civil need? If yes, are you using C3D?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect you are looking at an add-on (likely not free) if a vertical version of AutoCAD/Civil3D does not offer it as a core feature. Explore add-ons at the app store here to see if any match your need&lt;/P&gt;&lt;P&gt;&lt;A href="https://apps.autodesk.com/" target="_blank"&gt;https://apps.autodesk.com/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ask for help in the Dynamic Blocks forum if you wish to still explore that, but give them a DWG to work with and show any variations or other needs in there too. Here is the link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/dynamic-blocks-forum/bd-p/154" target="_blank"&gt;https://forums.autodesk.com/t5/dynamic-blocks-forum/bd-p/154&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 16:24:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041815#M9947</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-09-24T16:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041821#M9948</link>
      <description>&lt;P&gt;yes i am using civil 3d&lt;/P&gt;&lt;P&gt;I thought creating width to a polyline and removing the fill is a simple built in toggle in autocad which is why I am asking here.&lt;/P&gt;&lt;P&gt;i guess i will just ask dynamic blocks forums and see if they can give me any pointers&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 16:29:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041821#M9948</guid>
      <dc:creator>jeff.wangD95HG</dc:creator>
      <dc:date>2024-09-24T16:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041952#M9949</link>
      <description>&lt;P&gt;I'm not sure if the following does something close to what you want.&amp;nbsp; The user specifies a pipe diameter and a series of spline fit points and the program create two offset splines with ellipses at the ends.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leeminardi_0-1727198333013.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413359i9035D1BB0914931E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leeminardi_0-1727198333013.png" alt="leeminardi_0-1727198333013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The user can trim one of the ellipses if desired.&lt;/P&gt;&lt;P&gt;The program does not indicate the spline&amp;nbsp; fit point as they are being specified and it uses the start point to select the orignal spline.&amp;nbsp; This could cause a problem in certain circumstances.&amp;nbsp; Improvedments to the code are welcomed.&lt;/P&gt;&lt;P&gt;Lee&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;;;(defun c:splinepipe (/ dia r p more spl slope perslope smax pStart pEnd p1 p2 p3 )
(defun c:splinepipe (/  )
; Creates offset spline with eliipses at their ends for a series of
; user specified spline fit points.
; L. Minardi 9/24/2024  
(setq dia  (getreal "\nEnter pipe diameter: ")
      r	   (/ dia 2.)
      p	   (getpoint "\nEnter spline start point: ")
      more T
)
(command "_spline")
(while more
  (command p)
  (setq p (getpoint p "\nEnter next spline fit point: "))
  (if (not p)
    (setq more nl)
  )
)
(command "" "" "")
(setq spl      (entlast)
      slope    (unitvec (vlax-curve-getfirstDeriv spl 0))
      perslope (list (cadr slope) (- (car slope)) 0.0)
      smax     (vlax-curve-getEndParam spl)
      pStart   (vlax-curve-getPointAtParam spl 0)
      p1       (mapcar '+ pStart (mapcar '* perslope (list r r r)))
      p2       (mapcar '- pStart (mapcar '* perslope (list r r r)))
      p3       (mapcar '+
		       pStart
		       (mapcar '* slope (list (/ r 2) (/ r 2) (/ r 2)))
	       )
)
(command "_offset" r pStart "_non" p1 "")
(command "_offset" r pStart "_non" p2 "")
(command "_ellipse" "_non" p1 "_non" p2 "_non" p3)
(setq
  slope	   (unitvec (vlax-curve-getfirstDeriv spl smax))
  perslope (list (cadr slope) (- (car slope)) 0.0)
  pEnd	   (vlax-curve-getPointAtParam spl smax)
  p1	   (mapcar '+ pEnd (mapcar '* perslope (list r r r)))
  p2	   (mapcar '- pEnd (mapcar '* perslope (list r r r)))
  p3	   (mapcar '+
		   pEnd
		   (mapcar '* slope (list (/ r 2) (/ r 2) (/ r 2)))
	   )
)
(command "_ellipse" "_non" p1 "_non" p2 "_non" p3)
(command "_erase" spl "")
(princ)
)

; Unit vector of v
(defun unitvec (v / x)
  (setq	x (distance '(0 0 0) v)
	x (mapcar '/ v (list x x x))
  )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 17:23:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13041952#M9949</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2024-09-24T17:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042145#M9950</link>
      <description>&lt;P&gt;A few things to think about:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could eliminate the '&lt;STRONG&gt;p3&lt;/STRONG&gt;' variable with its calculation, by using the &lt;STRONG&gt;&lt;FONT color="#000000"&gt;ELLIPSE&lt;/FONT&gt;&lt;/STRONG&gt; command's&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt; R&lt;/FONT&gt;otation&lt;/STRONG&gt; &lt;/FONT&gt;option instead of specifying a perpendicular-axis endpoint.&amp;nbsp; Remove lines 41 through 44, and at line 46:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (command "_.ellipse" "_non" p1 "_non" p2 &lt;FONT color="#0000FF"&gt;"_rotation" 60&lt;/FONT&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;[or some other number at the end, if you don't like the resulting proportion of that].&amp;nbsp; [But see below about p1 &amp;amp; p2.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should line 16 be:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (setq more n&lt;FONT color="#FF0000"&gt;i&lt;/FONT&gt;l)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;?&amp;nbsp; [As it is, it will have the same effect, but only because 'nl' itself doesn't exist and therefore &lt;EM&gt;returns&lt;/EM&gt; nil.&amp;nbsp; But that could be anything:&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;(setq more MarilynMonroe).&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you make a VLA-object out of the original Spline, you can use&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (vla-offset)&lt;/STRONG&gt; &lt;/FONT&gt;on it with positive &lt;STRONG&gt;r&lt;/STRONG&gt; and negative &lt;STRONG&gt;r&lt;/STRONG&gt;, to Offset it to both sides, instead of needing to pick points for the side in Offset commands.&amp;nbsp; Save each result to a variable, and you can use&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (vlax-curve-getStartPoint)&lt;/STRONG&gt; &lt;/FONT&gt;and&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (...EndPoint)&lt;/STRONG&gt; &lt;/FONT&gt;functions on them for the Ellipse axis endpoints, and don't need two rounds of all the vectors and slopes and&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (mapcar)&lt;/STRONG&gt;&lt;/FONT&gt;s and p1's and p2's.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 18:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042145#M9950</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-09-24T18:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042263#M9951</link>
      <description>&lt;P&gt;It looks like you are requesting two different things - one is a pipe end that terminates within the manhole, the other is the flow path at the bottom of the manhole. Here is my take on the latter.&lt;/P&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="Washingtonn_0-1727205874367.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413416iC162EF27CDFDF262/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Washingtonn_0-1727205874367.png" alt="Washingtonn_0-1727205874367.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 19:30:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042263#M9951</guid>
      <dc:creator>Washingtonn</dc:creator>
      <dc:date>2024-09-24T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042317#M9952</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"The other is the flow path at the bottom of the manhole"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;yea all I need is this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and I think your explanation pretty much matches exactly what I wanted it to do. I am gonna steal your picture and ask in dynamic blocks first.&amp;nbsp; the idea is for it to be highly mutable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if i want to create a function for it, then i would make it so i can let it read an excel file with all the necessary data and just output all the needed flow path without it being highly mutable.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 19:58:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042317#M9952</guid>
      <dc:creator>jeff.wangD95HG</dc:creator>
      <dc:date>2024-09-24T19:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042466#M9953</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12948469"&gt;@jeff.wangD95HG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;yes i am using civil 3d...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any reason you don't wish to ask in the C3D forum, or better yet, the dedicated C3D Customization forum?&lt;/P&gt;&lt;P&gt;here is the link to the latter&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/civil-3d-customization/bd-p/190" target="_blank"&gt;https://forums.autodesk.com/t5/civil-3d-customization/bd-p/190&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pendean_0-1727210683658.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1413475i4EDFEE4D10716060/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pendean_0-1727210683658.png" alt="pendean_0-1727210683658.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 20:44:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042466#M9953</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2024-09-24T20:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042531#M9954</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;thanks for looking over my code.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;A few things to think about:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could eliminate the '&lt;STRONG&gt;p3&lt;/STRONG&gt;' variable with its calculation, by using the &lt;STRONG&gt;&lt;FONT color="#000000"&gt;ELLIPSE&lt;/FONT&gt;&lt;/STRONG&gt; command's&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt; R&lt;/FONT&gt;otation&lt;/STRONG&gt; &lt;/FONT&gt;option instead of specifying a perpendicular-axis endpoint.&amp;nbsp; Remove lines 41 through 44, and at line 46:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (command "_.ellipse" "_non" p1 "_non" p2 &lt;FONT color="#0000FF"&gt;"_rotation" 60&lt;/FONT&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;[or some other number at the end, if you don't like the resulting proportion of that].&amp;nbsp; [But see below about p1 &amp;amp; p2.]&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;I'm not sure this suggestion saves much if anything.&amp;nbsp; The angle woud need to be calculated instead of p3.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Should line 16 be:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (setq more n&lt;FONT color="#FF0000"&gt;i&lt;/FONT&gt;l)&lt;/STRONG&gt;&lt;/FONT&gt;?&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF00FF"&gt;&lt;EM&gt;Thanks for catching this typo.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [As it is, it will have the same effect, but only because 'nl' itself doesn't exist and therefore &lt;EM&gt;returns&lt;/EM&gt; nil.&amp;nbsp; But that could be anything:&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;(setq more MarilynMonroe).&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;"MarilynMonroe"?&amp;nbsp; You're dating yourself!&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you make a VLA-object out of the original Spline, you can use&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (vla-offset)&lt;/STRONG&gt; &lt;/FONT&gt;on it with positive &lt;STRONG&gt;r&lt;/STRONG&gt; and negative &lt;STRONG&gt;r&lt;/STRONG&gt;, to Offset it to both sides, instead of needing to pick points for the side in Offset commands.&amp;nbsp; Save each result to a variable, and you can use&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (vlax-curve-getStartPoint)&lt;/STRONG&gt; &lt;/FONT&gt;and&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (...EndPoint)&lt;/STRONG&gt; &lt;/FONT&gt;functions on them for the Ellipse axis endpoints, and don't need two rounds of all the vectors and slopes and&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt; (mapcar)&lt;/STRONG&gt;&lt;/FONT&gt;s and p1's and p2's.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;I'm still breaking the ice with vlax functions. It's not clear to me when to pursue non-vlax based tactics and when to go with vlax functions when both strategies yield desirable results.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It looks like I misinterpreted the OP's needs as it looks like he want a dynamic block approach. Oh well.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 21:17:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042531#M9954</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2024-09-24T21:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042895#M9955</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/822616"&gt;@leeminardi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;....
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (command "_.ellipse" "_non" p1 "_non" p2 &lt;FONT color="#0000FF"&gt;"_rotation" 60&lt;/FONT&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P class="lia-align-left"&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;I'm not sure this suggestion saves much if anything.&amp;nbsp; The angle woud need to be calculated instead of p3.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;KC:&amp;nbsp; Not really.&amp;nbsp; Rotation as an option in ELLIPSE is not what you &lt;SPAN&gt;apparently &lt;/SPAN&gt;think, but the rotation into the 3rd dimension of a Circle that would produce the appearance that results if that 3D rotated [virtual] Circle were flattened into the drawing plane.&amp;nbsp; [Experiment with it.]&amp;nbsp; The axis endpoints are still picked, so the direction between them doesn't need to be calculated.&amp;nbsp; 60 makes a pretty good imitation of the example -- greater number = skinnier Ellipse.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;"MarilynMonroe"?&amp;nbsp; You're dating yourself!&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;KC:&amp;nbsp; One of the historical things that happened on my birthday was her death (my 10th birthday), that is, the discovery of her body (she might have died late the day before).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;I'm still breaking the ice with vlax functions. It's not clear to me when to pursue non-vlax based tactics and when to go with vlax functions when both strategies yield desirable results.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;KC:&amp;nbsp; For (vlax-curve-...) class objects, a lot of things can be done with them using those functions &lt;EM&gt;with less code&lt;/EM&gt;, because those will accept regular entity names, so no VLA-object conversion is needed [and they do also accept VLA objects if there's other reason to convert them].&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 00:36:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13042895#M9955</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2024-09-25T00:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: how do I create line/curve that basically looks like a pipe?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13044347#M9956</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;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/822616"&gt;@leeminardi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;....&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; (command "_.ellipse" "_non" p1 "_non" p2 &lt;FONT color="#0000FF"&gt;"_rotation" 60&lt;/FONT&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;EM&gt;&lt;FONT color="#FF00FF"&gt;I'm not sure this suggestion saves much if anything.&amp;nbsp; The angle woud need to be calculated instead of p3.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;KC:&amp;nbsp; Not really.&amp;nbsp; Rotation as an option in ELLIPSE is not what you &lt;SPAN&gt;apparently &lt;/SPAN&gt;think, but the rotation into the 3rd dimension of a Circle that would produce the appearance that results if that 3D rotated [virtual] Circle were flattened into the drawing plane.&amp;nbsp; [Experiment with it.]&amp;nbsp; The axis endpoints are still picked, so the direction between them doesn't need to be calculated.&amp;nbsp; 60 makes a pretty good imitation of the example -- greater number = skinnier Ellipse.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I had not noticed the "rotation" option for the ellipse command.&amp;nbsp; Silly me, I thought it would rotate the ellipse!&amp;nbsp; What it does (as you know) is to create a projection of a circle from a plane defined by the rotation angle about the axis defined by the major axis of the ellipse.&amp;nbsp; An angle of zero yields a circle while an angle of 90 yields a line.&amp;nbsp; To get the equivalent of an isometric ellipse for the top of a 2D isometric cube you can create an ellipse with a horizontal major axis and rotate it by an angle of 54.7356° (90 - atan(1/sqrt(2)).&amp;nbsp; Your choice of 60 is close enough.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 14:01:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/how-do-i-create-line-curve-that-basically-looks-like-a-pipe/m-p/13044347#M9956</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2024-09-25T14:01:06Z</dc:date>
    </item>
  </channel>
</rss>

