might anyone be able to guide me on how to generate contour from lisp. Thanks I appreciate your help.
You need to be a member of Land Surveyors United - Surveying Education Community to add thoughts!
might anyone be able to guide me on how to generate contour from lisp. Thanks I appreciate your help.
You need to be a member of Land Surveyors United - Surveying Education Community to add thoughts!
Add Posts, Surveying Photos, Videos and Articles to the Surveyor Community
Add Stuff to Community
We are committed to allowing freedom of expression for all of our members, and that includes maintaining a safe space for people with opposing views to express themselves. We get posts from all over the country and even the globe, so needless to say, people come with different viewpoints on lad surveying practices and processes. We see this diversity and variety as a real strength-- dialogue and debate are an integral part of the educational process, as well as an important tool in exploring different sides of complex issues.
Replies
Hello! Check out TopLISP v2.0, it generates contour lines from coordinate points in AutoCAD. Watch the Tutorials on the website through the official link: https://www.planilhasinteligentes.com/toplisp/toplisp-v2-0
my dear friend pls send me this lisp in my email id [email protected]
Tell me if this helps
Unzip files to Autocad support directory or any directory in Autocad's search path. Type (load"ctl_w8") at the command prompt to load routine. Type "CTL" at the command prompt for option list. Command: ctl 1. Draw Triangulated Surface. 2. Draw Contour Lines. 3. Swap Triangle Pairs. 4. Re-point Contour Lines. 5. Color Objects. 6. Read/Write CSV Point File. 7. Annotate Contours. 8. Create 3D Mesh. S. Cross Sections from Contours. A. Area Calculations. Q. Quantity from Surface. R. Replace Individual Points. X. Import Excel Point File. Option 1 creates a triangulated surface from all points found on layer "CTL_PNT". It prompts to check points before the surface program runs. If any points are closer than 1.0 unit apart or there are duplicate points in the drawing, the program will hang. If too many of your points are closer than 1 unit and you can't move or delete them, you'll have to scale all of the points up to create the surface and then scale it back down to the original scale. The check option will delete any duplicate points and draw a circle on layer "CTL_PTMP" around the points closer than allowed. More points don't necessarily create a better contour map but will only increase the dwg size. Don't use any more points than the resolution you need. Option 6 or X import on layer CTL_PNT.
If you don't have any points, check out these DEM Point Selection programs.
If you need to change a space separated point file to a comma separated file, try one of these command line programs.
32 bit version s2csv32.exe <158kb> or 16 bit version sp_2csv.exe. <14kb> (8 character file names only.)
Option 4 uses the MEASURE command to create more points along existing contour lines. You may want to do this to create a more dense surface model to use with the 3D Mesh option 8. More on that later.
This option erases all existing points on layer "CTL_PNT" so make sure you have a backup point file before using this option.
If you colored your contours with the Major/Minor option, the major lines should already be on even elevations. 50 unit contours spaced at 5 show up above. A 20 unit contour spaced at 5 should all be even 100 units or 40 units spaced at 5 should all be 200 unit elevations. Option 8 creates a 3Dmesh. It asks whether you want to sample for points or 3D faces. It prompts for a lower left and upper right point for the mesh boundary, grid spacing, and base elevation. You can press "A" or "B" to ignore any points above or below the base elevation. It selects entities in the drawing with a crossing window the size of each grid spacing and takes an average of all elevations it finds. If it finds nothing in a crossing window, it uses the base elevation. You're limited to 256 x 256 on any one grid.
Option S creates cross sections from contours on layer CTL_CONT. You need to draw a "LINE" over the contours to section. It searches along the section "LINE" with a crossing fence and will prompt you for a fence distance. If the fence is larger than the smallest contour spacing, you could miss some contour points. It will prompt for a starting station if your sections are equally spaced and you want to add stations to your profiles. It only takes integer values. You can always overwrite the default station number and reset the forward spacings. The profiles are drawn left to right from the direction the section line was drawn. If you get it backwards, you can either rotate the section line 180 degrees or just mirror the profile since it's center based. This only works while in Plan view of World Coordinates. Don't change pline widths before using this.
Option A calculates areas by using the boundary command. It uses the pick point as the text location and will prompt for a text size. It temporarily displays a red boundary and prompts you to accept or decline the area shown.
Option Q calculates quantities from a triangulated surface relative to a base elevation. The total surface area must remain constant and you derive the actual volume by the difference between each surface change. The example below only shows the need to set the base elev. below any anticipated excavation elevation. The default base is the lowest triangle point and can remain unchanged for fill quantities, but the actual volume is still the difference between surface changes since the world ain't flat. ( I don't think it is.) This only works on triangulated surfaces.
Point #, Northing, Easting, Elevation, Description (if any)
LSU Justin
I Am Already Try But This Is Not Work
Can You Show Video Demo
How To Do This
http://www.ezmdd.com/ctl/