Skip to content

Depth Insert is a tool for AutoCAD and ZwCAD that projects excavation points onto the nearest section of a plan polyline. It then generates a visible depth profile to help users easily assess if the excavation depth is compatible with the underlying pipeline.

License

Notifications You must be signed in to change notification settings

MGodsven/DepthInsert

Repository files navigation

Depth Insert

What does it do?

It takes a .csv file with X,Y and DEPTH values, sends them to the model space, and projects the points onto the nearest segment of the plan polyline. This ensures that each point is mapped to the most appropriate section of the polyline, providing an accurate representation of the depth profile. After that, it generates a depth profile just below your terrain profile, scaled according to the value the user selects.

How to use it?

  1. Create a .csv file in the following format
NAME X Y DEPTH
SPT-01 10.75 10 2.5
SPT-02 20.65 30 5.5
SPT-03 40.25 30 6

Note: The decimal separator may vary depending on your region.

  1. Open your CAD application, and load the DepthInsert.dll.

  2. Type MG:DepthInsert in your CAD console, then press ENTER

  3. Follow the DepthInsert instructions.

Prerequisites

⦁ A CAD application that supports loading .dll files (e.g., AutoCAD, BricsCAD, etc.).

⦁ .NET Framework 4.5 or higher installed on your system.

⦁ A valid .csv file formatted as described.

Installation

  1. Download the DepthInsert.dll file from the releases page.
  2. Place the DepthInsert.dll in a directory that is accessible by your CAD application
  3. Load the .dll into your CAD software as instructed.

Troubleshooting

Q: The command doesn't seem to work.

A: Check if the .dll file is the correct version for your CAD application, for instance, the .dll file for ZwCAD only works on ZwCAD, and the AutoCAD file only works on AutoCAD or Civil3D.

License

This project is licensed under the Apache License - see the LICENSE file for details.

About

Depth Insert is a tool for AutoCAD and ZwCAD that projects excavation points onto the nearest section of a plan polyline. It then generates a visible depth profile to help users easily assess if the excavation depth is compatible with the underlying pipeline.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages