Jump to content

"Reverse" Waterdrop Tool Lisp


Shablab

Recommended Posts

I am looking for a Lisp that will ask for a point on a surface to be selected and from there it will draw a polyline and go uphill until it reaches a high point.  For those unfamiliar, the water drop does this but the starting point is the high point.  I need to be able to use this command anywhere on the surface and that's why the catchment tool doesn't work in some circumstances.  As of now I have been just clicking around on the surface using waterdrop tool until a point hits.

Link to comment
Share on other sites

On 2/19/2019 at 9:36 AM, Commandobill said:

BIGAL, I think the OP wants that solution but in reverse. Civil 3D does the water drop from high point to low point.

That's correct, the command waterdrop already exists in Civil 3D but it is only from high to low point. The waterdrop tool does use 3dfaces along the surface I just need the reverse direction as the existing command you can only use from a highpoint.

Link to comment
Share on other sites

I googled and found the post above also found linked to that post a start for a solution, it shows the slope grade and direction with an arrow replace the arrow with a line then work out next intersect point and keep going. I am still sure a solution exists do a search for "slope direction".

Link to comment
Share on other sites

Some other tools can do this, but nothing built into C3D.  Certainly possible to develop something based on a TIN and 3dface normal (projected onto XY axis as direction of maximum slope).

 

Search for David Tarboten's 'Taudem' software, which uses gridded data to aggregate flow contribution.  This describes some of the issues, including:

  • filling of depressions (an issue in Canadian Prairie 'pothole' country, where I live)
  • dealing with flat surface areas (ditto re prairies)
  • Generate a stream path after 'n' grid cells (or 'burn in' / utilize streamlines from another source)
  • maximum size for generated catchments

An older version of Taudem (called Tardem) works on the command line, and has lent itself well to calling from AutoCAD and using CAD data to prepare input and process output.

 

Nowdays we use a couple of tools built into Global Mapper software, including 'Find Ridgelines' and 'Generate Watershed' that use terrain model data (eg. Bare earth LiDAR or ERSI Arc Grid, or grid based on a TIN).  Specialty drainage modeling software also may have this built in (PCSWMM expert system for US EPA Stormwater Management Model has this, very handy for quick and dirty natural drainage model development).

Link to comment
Share on other sites

  • 6 months later...

I posted a solution to this post in the Autodesk forums.

https://forums.autodesk.com/t5/civil-3d-forum/reverse-waterdrop/m-p/8997728/highlight/false#M405845

 

It involves inverting (mirroring)  the surface to trick the Water Drop tool to draw from low to high.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...