<?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: Calculate volume using 3d Polyine in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393981#M59419</link>
    <description>&lt;P&gt;Really have no idea if this is correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;;  https://stackoverflow.com/questions/5695322/calculate-volume-of-3d-mesh

(setq p1 (list 1 1 1))
(setq p2 (list 2  13 15))
(setq p3 (list 20 15 8))
(command "3dface" p1 p2 p3 "" "")

; var v321 = p3.X * p2.Y * p1.Z
(setq v321 (*(nth 0  p3)(nth 1 p2)(nth 2 p1)))
; var v231 = p2.X * p3.Y * p1.Z;
(setq v231 (*(nth 0  p2) (nth 1 p3)(nth 2 p1)))
;var v312 = p3.X * p1.Y * p2.Z;
(setq v312 (* (nth 0 p3)(nth 1 p1)(nth 2 p2)))
;var v132 = p1.X * p3.Y * p2.Z;
(setq v132 (* (nth 0 p1)(nth 1 p3)(nth 2 p2)))
;var v213 = p2.X * p1.Y * p3.Z;
(setq v213 (* (nth 0 p2)(nth 1 p1)(nth 2 p3)))
;var v123 = p1.X * p2.Y * p3.Z;
(setq v123 (* (nth 0 p1)(nth 1 p2)(nth 2 p3)))

(princ (setq vol (* (/ 1.0 6.0) (+ (- v321) v231 v312 (- v132) (- v213)  v123))))&lt;/LI-CODE&gt;&lt;P&gt;But could loop through all 3dfaces.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 07:05:15 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2021-06-16T07:05:15Z</dc:date>
    <item>
      <title>Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10386919#M59406</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to calculate cut volume for a pond. I have 2 Surfaces as 3d polylines with elevation in each vertices. Is there any lisp or routine I can follow rather than getting the volume using Civil 3D, because we have more than 500 similar ponds in this project. Sample dwg. and Image Attached for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/929928i1C30481CAD6C2A82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 16:42:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10386919#M59406</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-13T16:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10387526#M59407</link>
      <description>&lt;P&gt;I think it can be done found a volume of a 3dface formula, in the Civ3d build is example code about creating surfaces so pick 2 - 3d plines make&amp;nbsp; 2 surfaces convert to 3d faces and read these calculating volume, I think you will still need a Vol1-vol2 calc. If it was possible to somehow run the CIV3D volume calc from a command point of view or reset the surface names or better still add surface names so do 500 shapes then export a results file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whilst you can get into CIV3D sometimes using VL no idea where the volume stuff is saved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is surface to 3d solid problem is it makes a shell of your surface.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 01:50:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10387526#M59407</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-06-14T01:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10389775#M59408</link>
      <description>&lt;P&gt;I've never messed with solids, but I was thinking that a rough calculation could be made by using an average elevation for the top and and average elevation for the bottom, get each 2D area, and use the truncated prism method for computing the volume.&amp;nbsp; I thinks it's V= (A1 +A2 + (A1*A2)^0.5)*(Z2-Z1)/3.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 20:20:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10389775#M59408</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2021-06-14T20:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10390195#M59409</link>
      <description>&lt;P&gt;One way may be to make them into one 3D Solid,&lt;/P&gt;&lt;P&gt;and&amp;nbsp; the command&amp;nbsp;&lt;STRONG&gt;massprop&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 23:09:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10390195#M59409</guid>
      <dc:creator>stevor</dc:creator>
      <dc:date>2021-06-14T23:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10390780#M59410</link>
      <description>&lt;P&gt;see this link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/area-capacity-table/td-p/7417797?fbclid=IwAR10033g2rxoLzKN2WzDKFlGuvsF-jy7Mpq-S-9Cui3t1JyTGHLpJawhM84&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 05:31:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10390780#M59410</guid>
      <dc:creator>hosneyalaa</dc:creator>
      <dc:date>2021-06-15T05:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393346#M59411</link>
      <description>&lt;P&gt;Acpac2 looks interesting I think Johns idea of vol by prisms may be the way to go, I know I did intersect 3d faces years ago so could do create the cross section area of a slice, there is triangles by YMG at Cadtutor and pretty sure has cross section option, this would mean a program option not using CIV3D.&amp;nbsp; The issue I see with Acpac is it needs contours but I did not test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No matter what somehow must have a 3d mesh. Still thinking about it. Will try to find the civ3d make surface example.&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="Screenshot406.png" style="width: 561px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/930830iC08EB739B113D334/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot406.png" alt="Screenshot406.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Have a look at the readme.&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-1623805390392.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/930831iE4D6348EC26FFE50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1623805390392.png" alt="SeaHaven_0-1623805390392.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 01:03:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393346#M59411</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-06-16T01:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393358#M59412</link>
      <description>&lt;P&gt;I could be wrong maybe missing something but it makes a shell not a filled in solid as I suggested earlier there is a direct civ3d command to convert surface to solid.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 01:06:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393358#M59412</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-06-16T01:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393716#M59413</link>
      <description>Had tried Civil 3d, but its taking longer than usual. Any ways thanks alot.</description>
      <pubDate>Wed, 16 Jun 2021 04:53:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393716#M59413</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-16T04:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393718#M59414</link>
      <description>hmmm.. seems like this will work for me. I would try. Thanks alot</description>
      <pubDate>Wed, 16 Jun 2021 04:55:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393718#M59414</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-16T04:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393723#M59415</link>
      <description>Ya i am following the same concept until i get a Lisp. Thank You</description>
      <pubDate>Wed, 16 Jun 2021 04:58:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393723#M59415</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-16T04:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393728#M59416</link>
      <description>&lt;P&gt;This works with the 2D surfaces only. I am getting null value for 3D surfaces. If someone could modify the coding for the 3D surfaces that would be much appreciable. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 04:59:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393728#M59416</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-16T04:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393730#M59417</link>
      <description>ya its making a shell only.</description>
      <pubDate>Wed, 16 Jun 2021 05:01:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393730#M59417</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-16T05:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393732#M59418</link>
      <description>thanks alot, I would try this as well.</description>
      <pubDate>Wed, 16 Jun 2021 05:02:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393732#M59418</guid>
      <dc:creator>cadgeek33</dc:creator>
      <dc:date>2021-06-16T05:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393981#M59419</link>
      <description>&lt;P&gt;Really have no idea if this is correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;;  https://stackoverflow.com/questions/5695322/calculate-volume-of-3d-mesh

(setq p1 (list 1 1 1))
(setq p2 (list 2  13 15))
(setq p3 (list 20 15 8))
(command "3dface" p1 p2 p3 "" "")

; var v321 = p3.X * p2.Y * p1.Z
(setq v321 (*(nth 0  p3)(nth 1 p2)(nth 2 p1)))
; var v231 = p2.X * p3.Y * p1.Z;
(setq v231 (*(nth 0  p2) (nth 1 p3)(nth 2 p1)))
;var v312 = p3.X * p1.Y * p2.Z;
(setq v312 (* (nth 0 p3)(nth 1 p1)(nth 2 p2)))
;var v132 = p1.X * p3.Y * p2.Z;
(setq v132 (* (nth 0 p1)(nth 1 p3)(nth 2 p2)))
;var v213 = p2.X * p1.Y * p3.Z;
(setq v213 (* (nth 0 p2)(nth 1 p1)(nth 2 p3)))
;var v123 = p1.X * p2.Y * p3.Z;
(setq v123 (* (nth 0 p1)(nth 1 p2)(nth 2 p3)))

(princ (setq vol (* (/ 1.0 6.0) (+ (- v321) v231 v312 (- v132) (- v213)  v123))))&lt;/LI-CODE&gt;&lt;P&gt;But could loop through all 3dfaces.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 07:05:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10393981#M59419</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-06-16T07:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10394153#M59420</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I've never messed with solids, but I was thinking that a rough calculation could be made by using an average elevation for the top and and average elevation for the bottom, get each 2D area, and use the truncated prism method for computing the volume.&amp;nbsp; I thinks it's V= (A1 +A2 + (A1*A2)^0.5)*(Z2-Z1)/3.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's the way to calculate volume when two bases are parallel horizontal planes. In case as presented in example, where we have two inclined bases&amp;nbsp; there are various options how to calculate volume. One is use truncated prism with heights z1&amp;nbsp; being average z of lower base and z2 average z of upper base. Other method is to add volumes of truncated prism and two wedges. Third is to multiply volume of truncated prism with some coefficient representing difference in inclined bases i.e let say 1.05.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best option is to use method of parallel vertical sections&amp;nbsp; and calculate volume using truncated prism formula, as we elaborated in one of previous posts. I have to work on code for this option, since requests like this are frequent.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 08:18:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10394153#M59420</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-06-16T08:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10396707#M59421</link>
      <description>&lt;P&gt;If I can find the maths for this would use base as all at Z=0&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-1623896616393.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/931295i798A13EA28A5A0BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1623896616393.png" alt="SeaHaven_0-1623896616393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say with z=0 for base vol = (z1+z2+z3)/3 * Area of base at z=0 seems to be answer. Please disregard if I am wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So would get total vol= sum vol triangles1 - sum vol triangles2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all wrong disregard, for 3dfaces need lisp a few free make TIN out there.&lt;/P&gt;&lt;P&gt;Only really suitable for holes or pyramids no cut/fill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 02:42:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10396707#M59421</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-06-17T02:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10397137#M59422</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's truncated pyramid and not prism (actually in some combinations one can use both). Volume is calculated using parallel sections with vertical plane. Areas from neighboring sections are looked as a bases of truncated pyramid and used to calculate partial volumes. that summed up give volume. I have started to write some code for this.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 06:27:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10397137#M59422</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-06-17T06:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10401047#M59423</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10987989"&gt;@cadgeek33&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been working on the multiple plane theory with tessellation lines connecting bottom to top and connecting the points at given Zs to form the equivalent of contours, then using the truncated prism method for the incremental volume between levels and then a total.&amp;nbsp; It's very rough if the 3DPolys don't have many vertices, so I am going to add a tessellation factor to add more vertices (to the data, not to the polyline).&lt;/P&gt;
&lt;P&gt;The volume is computed from the minimum elevation of the bottom to the minimum elevation of the top on the premise that this is for a pond volume, which would overflow if the water rises above its lowest outlet.&lt;/P&gt;
&lt;P&gt;This could also output a stage-storage table (if I knew how to make tables).&amp;nbsp; Maybe someone else can add that when I'm done.&amp;nbsp; I can create a list that looks like:&lt;/P&gt;
&lt;P&gt;'((z depth area incvol cumvol) ;; repeated)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 11:35:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10401047#M59423</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2021-06-18T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10401695#M59424</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10987989"&gt;@cadgeek33&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's very rough if the 3DPolys don't have many vertices, so I am going to add a tessellation factor to add more vertices (to the data, not to the polyline).&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp; I like your idea. You can try to use ruled surface (rulesurf) created between upper and lower base 3dpolylines to obtain contour line points at some level Z.&amp;nbsp; If ruled surface is exploded it creates 3dfaces from whom is relatively ease to points at level Z and create contour.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 15:38:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10401695#M59424</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-06-18T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate volume using 3d Polyine</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10402775#M59425</link>
      <description>Thanks, &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;,&lt;BR /&gt;but I already have the interpolation function, and I don't like using&lt;BR /&gt;commands unless I have to.  It's all about manipulating data.</description>
      <pubDate>Sat, 19 Jun 2021 00:54:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/calculate-volume-using-3d-polyine/m-p/10402775#M59425</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2021-06-19T00:54:29Z</dc:date>
    </item>
  </channel>
</rss>

