<?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: entmake a 3D surface (donut) feature in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934900#M49353</link>
    <description>&lt;P&gt;Maybe something like this will help, it's not ENTMAKE but you can feed it a list of OD ID and it will spit out pipe walls &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(defun _pipewalls (p lrg sml / a b c d sp)
  (setq c (vl-sort (list lrg sml) '&amp;gt;))
  (cond	((and (setq a (entmakex (list '(0 . "CIRCLE") (cons 10 p) (cons 40 (car c)))))
	      (setq b (entmakex (list '(0 . "CIRCLE") (cons 10 p) (cons 40 (cadr c)))))
	      (setq sp (vlax-ename-&amp;gt;vla-object (cdr (assoc 330 (entget a)))))
	 )
	 (setq c (car (vlax-invoke sp 'addregion (list (vlax-ename-&amp;gt;vla-object a)))))
	 (setq d (car (vlax-invoke sp 'addregion (list (vlax-ename-&amp;gt;vla-object b)))))
	 (mapcar 'entdel (list a b))
	 (vla-boolean c acsubtraction d)
	)
  )
  (princ)
)
(vl-load-com)
;; Makes 4" 8" 10" 12" pipe wall profiles
(foreach l '((4.2 4) (8 7.8) (10 9.7) (11.7 12)) (_pipewalls '(0 0 0) (car l) (cadr l)))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 23:22:40 GMT</pubDate>
    <dc:creator>ronjonp</dc:creator>
    <dc:date>2022-02-07T23:22:40Z</dc:date>
    <item>
      <title>entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934500#M49350</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I created a Surface feature that is a large circle with a smaller circle subtracted from the larger.&amp;nbsp; A "donut" feature.&amp;nbsp; I want to use this to extrude a pipe along a 3D polyline to generate a real CAD pipe with a defined thickness, but I need to be able to build this donut via entmake (much faster).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the Donut feature and I run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Command: (entget (car (entsel)))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it returns this gobble-di-goop, anyone know what language this is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Select object: ((-1 . &amp;lt;Entity name: 23f296c8810&amp;gt;) (0 . "PLANESURFACE") (330 . &amp;lt;Entity name: 23f1f6311f0&amp;gt;) (5 . "87B1") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "0") (100 . "AcDbModelerGeometry") (70 . 1) (1 . "mmloo mm m k ") (1 . "ni ^*+0;:,4 ^*+0\\^[ mo ^LR mmjqjqoqijjlj QK o ") (1 . "mjqlfffffffffffffgjg fqfffffffffffffffjkh:roh nqooooooooooooooooli:rno ") (1 . "&amp;gt;,27:&amp;gt;;:- {rn rn _nl mmjqjqoqijjlj |") (1 . "=0;&amp;amp; {rn rn {rn {m {rn {l |") (1 . "3*2/ {rn rn {rn {rn {k {n |") (3 . "+-&amp;gt;1,90-2 {rn rn n rkqflolgoijhilnlmlhgk:rlm kqkkogfmofgjooiminim:rni rkqkkogfmofgjooiminim:rni rnqglifhonfghmnomfnfk:rni n lqmmhkojhglojoonfgnm:rlm rn rnqglifhonfghmnomfnfk:rni rmlghqnmkmiijooiohoik nqlhhhifljkljghinlni:rnm rhjooqmmhollnhihfkfhi n -0+&amp;gt;+:") (1 . " 10@-:93:&amp;lt;+ 10@,7:&amp;gt;- |") (1 . ",7:33 {rn rn {rn {rn {rn {j {rn {m |") (1 . "9&amp;gt;&amp;lt;: {i rn {rn {rn {h {k {rn {g 90-(&amp;gt;-; ;0*=3: 0*+ |") (1 . "/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {j n m nooooooooo noon |") (1 . "300/ {rn rn {rn {f {no {j |") (1 . "/3&amp;gt;1:r,*-9&amp;gt;&amp;lt;: {rn rn {rn mlghqnmkmiijooinomkh hjoiqmmhollnhihfkoii o o o n n o o 90-(&amp;gt;-;@) V V V V |") (1 . "300/ {rn rn {rn {rn {nn {j |") (1 . "&amp;lt;0:;8: {rn rn {rn {no {no {rn {nm 90-(&amp;gt;-; {h o {rn |") (1 . "&amp;lt;0:;8: {rn rn {rn {nn {nn {rn {nl 90-(&amp;gt;-; {f o {rn |") (1 . ":;8: {nk rn {rn {nj rlqnknjfmijljgfhflnni {nj lqnknjfmijljgfhflnni {no {ni 90-(&amp;gt;-; _h *1410(1 |") (1 . ":;8: {nh rn {rn {ng rlqnknjfmijljgfhflnni {ng lqnknjfmijljgfhflnni {nn {nf 90-(&amp;gt;-; _h *1410(1 |") (1 . "/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {nm n n nooooooooo jnoon |") (1 . "):-+:' {rn rn {rn {nm o {mo |") (1 . ":336/,:r&amp;lt;*-): {rn rn {rn mlghqnmkmiijooinomkh hjoiqmmhollnhihfkoii o ro ro rn ri ro o n V V |") (1 . "/:-,*=:1+r&amp;gt;&amp;lt;&amp;gt;;L036;W6,+0-&amp;amp;r&amp;gt;++-6= {rn rn {rn {rn {nl n m nooooooooo jnoon |") (1 . "):-+:' {rn rn {rn {nl o {mn |") (1 . ":336/,:r&amp;lt;*-): {rn rn {rn mlghqnmkmiijooinomkh hjoiqmmhollnhihfkoii o o o n rgqhj ro o n V V |") (1 . "/061+ {rn rn {rn mlflqnmkmiijooinomkh hjoiqmmhollnhihfkoii o |") (1 . "/061+ {rn rn {rn mlfjqghkmiijooinomkh hjoiqmmhollnhihfkoii o |") (290 . 1) (2 . "{cecf3351-7f3c-6048-b1bc-aec1944323d9}") (100 . "AcDbSurface") (71 . 6) (72 . 6))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 19:49:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934500#M49350</guid>
      <dc:creator>bob_basques</dc:creator>
      <dc:date>2022-02-07T19:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934629#M49351</link>
      <description>&lt;P&gt;You are probably out of luck.&amp;nbsp; Entity data for Surfaces, and also for Regions and 3D Solids, is utter inscrutable and very likely impossible to generate for use in (entmake).&amp;nbsp; I expect you'll need to make it with (command) or (vl-cmdf) functions.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 20:51:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934629#M49351</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-02-07T20:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934677#M49352</link>
      <description>&lt;P&gt;Hi Kent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah I just found a similar description in the DXF manual, a lot of use of the phrase "proprietary data".&amp;nbsp; Seems to apply to anything 3D, 3DSOLID, BODY, REGION, and SURFACE.&amp;nbsp; Just search on AcDbModelerGeometry here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf" target="_blank"&gt;https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could probably build all my combinations by hand for pre assembly via LISP/ENTMAKE, but there are a few hundred different&amp;nbsp; potential pipe sizes with different wall thicknesses.&amp;nbsp; Hmm, maybe stuff the DXF code into Postgres, all the data is coming from there anyway . . .&amp;nbsp; I already have the COMMAD version started.&amp;nbsp; Paintfull though, need to draw two circles make them both into a SURFACE/REGION, then subtract the smaller from the larger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to try and assemble a static pipesize/wallthickness with Entmake and see how fast it is.&amp;nbsp; If it's fast enough, I can write a routine in AutoCAD to stuff the pipe/wall thicknesses into Postgres, then pull the correct "google-di-goop" back out on demand . . . might not be worth it in the end though, I still have to extrude along the 3D polyline paths, which will likely take some time to process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bobb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bobb&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>Mon, 07 Feb 2022 21:11:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934677#M49352</guid>
      <dc:creator>bob_basques</dc:creator>
      <dc:date>2022-02-07T21:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934900#M49353</link>
      <description>&lt;P&gt;Maybe something like this will help, it's not ENTMAKE but you can feed it a list of OD ID and it will spit out pipe walls &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(defun _pipewalls (p lrg sml / a b c d sp)
  (setq c (vl-sort (list lrg sml) '&amp;gt;))
  (cond	((and (setq a (entmakex (list '(0 . "CIRCLE") (cons 10 p) (cons 40 (car c)))))
	      (setq b (entmakex (list '(0 . "CIRCLE") (cons 10 p) (cons 40 (cadr c)))))
	      (setq sp (vlax-ename-&amp;gt;vla-object (cdr (assoc 330 (entget a)))))
	 )
	 (setq c (car (vlax-invoke sp 'addregion (list (vlax-ename-&amp;gt;vla-object a)))))
	 (setq d (car (vlax-invoke sp 'addregion (list (vlax-ename-&amp;gt;vla-object b)))))
	 (mapcar 'entdel (list a b))
	 (vla-boolean c acsubtraction d)
	)
  )
  (princ)
)
(vl-load-com)
;; Makes 4" 8" 10" 12" pipe wall profiles
(foreach l '((4.2 4) (8 7.8) (10 9.7) (11.7 12)) (_pipewalls '(0 0 0) (car l) (cadr l)))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 23:22:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934900#M49353</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2022-02-07T23:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934912#M49354</link>
      <description>&lt;P&gt;Why not extrude along a path do twice ID OD then subtrcat ID from OD can be done as a lisp, use rotate3d to flip the circles to 90 at ends&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_0-1644276535122.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1022002i2DBD8062D02CB0B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1644276535122.png" alt="SeaHaven_0-1644276535122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 23:29:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10934912#M49354</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-02-07T23:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10936494#M49355</link>
      <description>&lt;P&gt;I will look at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My big deal is being able to draw everything very fast, which typically equals creating via ENTMAKE.&amp;nbsp; I can draw 30k 3D pipe invert lines in a few seconds right now with ENTMAKE, but the actual 3D CAD model building takes a few second to make 20-30 of them, just looking for more speed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bobb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 14:31:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10936494#M49355</guid>
      <dc:creator>bob_basques</dc:creator>
      <dc:date>2022-02-08T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10936503#M49356</link>
      <description>&lt;P&gt;I looked at this approach too. Actually Pieces of it I was going to use, just wasn't to the step of rotating the end cap perp to the 3D line yet. I thought maybe it might be slower than building the pipe section and extruding it, but maybe it takes the same amount of time to draw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, thanks for the help, still working through it.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 14:34:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10936503#M49356</guid>
      <dc:creator>bob_basques</dc:creator>
      <dc:date>2022-02-08T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10936576#M49357</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/274609"&gt;@bob_basques&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I will look at this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My big deal is being able to draw everything very fast, which typically equals creating via ENTMAKE.&amp;nbsp; I can draw 30k 3D pipe invert lines in a few seconds right now with ENTMAKE, but the actual 3D CAD model building takes a few second to make 20-30 of them, just looking for more speed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bobb&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The vl functions are pretty fast too. Let me know how it goes!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:02:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10936576#M49357</guid>
      <dc:creator>ronjonp</dc:creator>
      <dc:date>2022-02-08T15:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10937954#M49358</link>
      <description>&lt;P&gt;A few seconds !! How long would it take you to make 20-30 doing each one manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rotate3d for circle you can use UCS ob and pick start point of pline then entmake a circle and rotate3d or look into setting UCS correct on end point and standing vertical. Then extrude using path.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 03:45:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10937954#M49358</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-02-09T03:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10939054#M49359</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/274609"&gt;@bob_basques&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idk what your current workflow looks like, but I stole some code from&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/593837"&gt;@ronjonp&lt;/a&gt;&amp;nbsp;to throw this together. Might be worth a shot?&lt;/P&gt;&lt;P&gt;I couldn't figure out how to make it any faster than this. Perhaps one of these smart guys can speed things up a bit from here.&lt;/P&gt;&lt;PRE&gt;(defun c:FASTPIPE ( / ss od id)
  (vl-load-com)
  (setq *modelSpace* (vla-get-ModelSpace (vla-get-ActiveDocument (vlax-get-acad-object))))
  (if (and (progn (prompt "\nSelect 3D Polylines: ") (setq ss (ssget '((0 . "POLYLINE")))))
           (progn (initget 7) (setq od (getreal "\nEnter Outer Diameter: ")))
           (progn (initget 7) (setq id (getreal "\nEnter Inner Diameter: ")))
      );and
    (repeat (setq cnt (sslength ss))
      (setq e (ssname ss (setq cnt (1- cnt))))
      (Create3DPipe e od id nil)
    );repeat
  );if
  (prompt "\nPipe Complete.")
  (princ)
);defun

(defun Create3DPipe (e od id deletePL / p1 p2 nv pt c1 c2 sp r1 r2 solid)
  ;; e - ename, of 3D Polyline
  ;; od - real, outer diameter of 'pipe'
  ;; id - real, inner diameter of 'pipe'
  ;; deletePL - boolean, will delete provided 3D Polyline (e) if true.
  ;; returns - vla-object, of 3D Solid 'pipe'
  (setq p1 (cdr (assoc 10 (entget (entnext e))))
        p2 (cdr (assoc 10 (entget (entnext (entnext e)))))
        nv (trans '(0.0 0.0 1.0) (mapcar '- p2 p1) 0 t)
        pt (trans p1 0 nv)
        c1 (entmakex (list '(0 . "CIRCLE") (cons 10 pt) (cons 40 (* 0.5 od)) (cons 210 nv)))
        c2 (entmakex (list '(0 . "CIRCLE") (cons 10 pt) (cons 40 (* 0.5 id)) (cons 210 nv)))
        sp (vlax-ename-&amp;gt;vla-object (cdr (assoc 330 (entget c1))))
        r1 (car (vlax-invoke sp 'addregion (list (vlax-ename-&amp;gt;vla-object c1))))
        r2 (car (vlax-invoke sp 'addregion (list (vlax-ename-&amp;gt;vla-object c2))))
  );setq
  (entdel c1) (entdel c2)
  (vla-boolean r1 acsubtraction r2)
  (setq solid (vla-AddExtrudedSolidAlongPath *modelSpace* r1 (vlax-ename-&amp;gt;vla-object e)))
  (vla-delete r1)
  (if deletePL (entdel e))
  solid
);defun&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;~DD&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 13:49:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10939054#M49359</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2022-02-09T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10955002#M49360</link>
      <description>&lt;P&gt;DD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is actually working pretty good, going to test against some complicated 3Dplines, but it seems very fast so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SQL query that I run for a list of all the pipes within a certain polygon, an example output from that would look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;("objectid" "pacmaterial" "pacmainshape" "active" "downelev"&amp;nbsp; "upelev"&amp;nbsp; "pipeheight" "pipewidth" "material" "mainshape" "geom" "WKT")&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;(118535 "VCP" "C" nil 192.16 194.68 12.0 12.0 "VCP" "C" "0105000020840D030001000000010200000002000000805E66AFD2C02141006EB5E8DAB603410023F20B9FBF214100C6A802ABB30341" "MULTILINESTRING M ((581737.34257789 161499.3636273 194.68,581583.523331732 161397.376298472 192.16))")&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(118580 "VCP" "C" nil 125.9 142.4 12.0 12.0 "VCP" "C" "0105000020840D03000100000001020000000200000080EA94BC0FC42141003AB98398700341000094A4A5C22141002E874C386C0341" "MULTILINESTRING M ((582151.868323639 159251.064318135 142.4,581970.82144165 159111.03736721 125.9))")&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(118655 "VCP" "C" nil 165.35 173.55 12.0 12.0 "VCP" "C" "0105000020840D030001000000010200000002000000000494D1D0B92141005CAE5A0AC3034180084F5AD9B9214100D293AE7FB90341" "MULTILINESTRING M ((580840.409332395 161889.294277877 173.55,580844.676384225 161583.960242882 165.35))") . . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then iterate through the list to build the pipes along the defined 3Dpolylines (geom).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so far, will report back as I move forward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bobb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:51:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10955002#M49360</guid>
      <dc:creator>bob_basques</dc:creator>
      <dc:date>2022-02-16T19:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10960165#M49361</link>
      <description>&lt;P&gt;I have seen autodesk Plant working and it is so fast drawing in 3d as you go, stuff like 90 bends etc&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at 3d stair handrails which have curves in them and it gets complicated, do you have any curves needed in your 3d pipe ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have a look at this&amp;nbsp;&lt;A href="https://www.cadtutor.net/forum/topic/69501-tube-bending-lisp-or/#comment-559682" target="_blank"&gt;tube bending lisp or?? - AutoLISP, Visual LISP &amp;amp; DCL - AutoCAD Forums (cadtutor.net)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 04:04:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10960165#M49361</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-02-19T04:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10960171#M49362</link>
      <description>&lt;P&gt;No idea of speed but extrude circle 1 &amp;amp; Circle 2 then subtract no need to make regions and only 1 solid remains anyway.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 04:25:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10960171#M49362</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-02-19T04:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: entmake a 3D surface (donut) feature</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10976143#M49363</link>
      <description>&lt;P&gt;~dd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is actually working as is.&amp;nbsp; I can use this as an INCLUDE and draw the pipes on the fly, and very fast too.&amp;nbsp; &amp;nbsp;Let me figure out a way to approximate the wall thickness based on material, then I can move forward with automation.&amp;nbsp; after talking with Engineering, they are actually more worried about the inside Diameter being accurate than anything, so at this point I can estimate the wall thickness.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;report back when I have more . . .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bobb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 21:03:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/entmake-a-3d-surface-donut-feature/m-p/10976143#M49363</guid>
      <dc:creator>bob_basques</dc:creator>
      <dc:date>2022-02-28T21:03:06Z</dc:date>
    </item>
  </channel>
</rss>

