Volume Calculation

Volume Calculation

shil143
Advocate Advocate
2,500 Views
17 Replies
Message 1 of 18

Volume Calculation

shil143
Advocate
Advocate

Hi,

i need volume for  each part of the swale ditch in easy way. i have bottom top level

please check sample drawing

Untitled.png

 

0 Likes
Accepted solutions (1)
2,501 Views
17 Replies
Replies (17)
Message 2 of 18

pbejse
Mentor
Mentor

@shil143 wrote:

Hi,

i need volume for  each part of the swale ditch in easy way. i have bottom top level

please check sample drawing


Assuming you have done this manually before, now you want a routine that will make it easier for the user.

Show us how you do it manually, formula and all

 

0 Likes
Message 3 of 18

shil143
Advocate
Advocate

in Civil 3D

on CAD Create 3d Polyline - Surface Patch - SURFSCULPT this method....

0 Likes
Message 4 of 18

pbejse
Mentor
Mentor

@shil143 wrote:

in Civil 3D.


Yup, i figured as much.

 


@shil143 wrote:

on CAD Create 3d Polyline - Surface Patch - SURFSCULPT this method....


 

Yes, and the result is?... Help us help you @shil143  how can we tell if we get the desired result if we have nothing to compare it to. [ at least for me thats how i stand with all this volume stuff ]

 

Show us on the drawing that you posted what the expected outcome

 

-Do not sneeze on mykeys. Do not wheeze on mykeys. Do not sneeze on yourknees on mykeys, if you please-

 

 

 

 

0 Likes
Message 5 of 18

shil143
Advocate
Advocate

Result is Acceptable But Take Time .......that is the Reason i need any lisp  

0 Likes
Message 6 of 18

Sea-Haven
Mentor
Mentor

End area method old fashioned Civil engineering.

 

2nd comment has been asked before and I think an answer was provided using the End area method.

 

Its about avoiding paying for software that does it like CIV3D. 

0 Likes
Message 7 of 18

hak_vz
Advisor
Advisor

@shil143  has received answer to similar question a month ago, but what he want is a magic wand  one click solution. 

 

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 8 of 18

shil143
Advocate
Advocate

@hak_vz  Yes Boss......I need to do this one to be done little bit quick ..........i have to calculate every 20m interval volume for  68km Swale Ditch . But Survey Level not in Exact 20m .....

0 Likes
Message 9 of 18

john.uhden
Mentor
Mentor

I thought I mentioned this before in some other thread (basically identical to this one!)...

Presumably the ditch has a slope to it, so you can't simply use the average end area method because the upper end of any reach is likely not going to be the same elevation at the lower end.  Unless you are taking the assumption that the water surface profile is vertically parallel to the top of the ditch.

Now if the flow is so slow that the ditch becomes a virtually level pool, then you have to find the area of each section at the lowest downstream elevation, say where it runs into a weir or headwall or something hindering its flow.

I really don't understand your purpose unless you are trying to design the ditch and are needing to compute the earthwork, in which case you're probably not going to find any suitable freeware.

John F. Uhden

0 Likes
Message 10 of 18

Sea-Haven
Mentor
Mentor
Accepted solution

The answer was I think in other post can walk along a pline get intersecting points and work out a cross section area, the spacing would be at a suitable value. A google for the intersect points gets a long way there.

0 Likes
Message 11 of 18

john.uhden
Mentor
Mentor

This is so stupid.  All he probably needs is to get the area of a typical section and multiply by the length of the ditch.  He doesn't need any AutoLisp or even a calculator if he made it past 5th grade.

John F. Uhden

0 Likes
Message 12 of 18

devitg
Advisor
Advisor

@john.uhden .  Hi , there is no such area, neither any thing that have area as property,  as far as I can get , is to select POINTS by fence from each polyline over the points, point have its z value as to make  a 3dpoly from such points, but I can not go any further.  

 

0 Likes
Message 13 of 18

Sea-Haven
Mentor
Mentor

You need to think a line dragged over 3d plines makes intersecting points, then make a pline of those points left to right get area add a chainage and end area formula 20m intervals is being asked for. 

 

Or send to someone with civ3d make surface, make road, get volume send answer back what 20 minutes max. Pay small amount. Or civ3d again top edge make surface, all edges on make surface2 compare volume surface1 - surface2 what ten minutes now !

0 Likes
Message 14 of 18

john.uhden
Mentor
Mentor
Going from memory of the image, it appeared that each section had x,y,z
points.
So if you convert each point to x,z you can get the area easily.

(defun 3D->2D (p)
(list (car p)(last p))
)

Hmmm, except the x wants to be its position within the section not within
the world. But that can be gained from drawing a baseline to the left of
the ditch. It might best be a polyline because it wants to be pretty much
perpendicular to each section...
(defun 3DW->2DX (p obj / 2dp)
;; where p is the original 3D world point
;; obj is the baseline vla-object
(list
(distance
(setq 2dp (list (car p)(cadr p)))
(vlax-curve-getpointclosesttoprojection obj 2dp '(0 0 1))
)
(last p)
)
)
*So skip the first function, i.e. ignore it.*
At least I think it would work that way. If not, then someone will correct
me.
Note that the baseline has to be to the left of the ditch because the
distance function always returns a positive value.
Technically we should compute the point on the polyline by intersecting it
with a line drawn in the direction of the section, but unless you draw a
polyline that really staggers it shouldn't make much of a difference.

John F. Uhden

0 Likes
Message 15 of 18

john.uhden
Mentor
Mentor
I presume you take US dollars?
But at $1000 per hour, your 10 minute exercise will cost $166.67 :]

John F. Uhden

0 Likes
Message 16 of 18

shil143
Advocate
Advocate

@Sea-Haven  I have Done As You Explained Here Already i Completed My Work

Created Two Surfaces ,

Alignment ( Convert 3D to 2D Polyline) ,

Sample Line Created Start, End & Horizontal Geometry Points, 

Compute Materials,

Volume Calculated Average End Area Method....

Cheers.....For All...............Thanks Your Valuable Comments & Suggestion 

@Sea-Haven @john.uhden @devitg @hak_vz @pbejse 

0 Likes
Message 17 of 18

john.uhden
Mentor
Mentor

Two surfaces?

So what was this all about, an earthwork takeoff?  T'would have been nice to know.

If the bid item is lump sum, you have no need to care about the quantity.

If the bid item is unit priced, then no need to compute either because the contractor will tell you <heh heh heh> when he's done trucking all the topsoil away for a profit.  No worry... he'll restore the surface with the brown shale he dug up.  It will "look" fine, especially after he paints it green.

Oh, I'm sorry; you must be working for the contractor.

John F. Uhden

0 Likes
Message 18 of 18

pbejse
Mentor
Mentor

@shil143 wrote:

@Sea-Haven  I have Done As You Explained Here Already i Completed My Work

Created Two Surfaces ,

Alignment ( Convert 3D to 2D Polyline) ,

Sample Line Created Start, End & Horizontal Geometry Points, 

Compute Materials,

Volume Calculated Average End Area Method....


Was all done in Civil 3D is suppose.

I was more interested  in this one though

--  CAD Create 3d Polyline - Surface Patch - SURFSCULPT this method...

 

Anywho. Glad you had it sorted  @shil143 

 

 

0 Likes