Jump to content

Pipe Clash Detection


CivilTechSource

Recommended Posts

Hi Everyone!

 

Very new to this forum and to the AutoLisp (Although some minimal understanding of coding). I work for Civil Engineering firm and one of constant routines is carry out pipe clash detection for drainage. I did automate the process by using an excel spreadsheet to do all the checks for you but I still feel AutoLisp will save even more time. I broke down the code to the below steps:

- Request from user minimum clearance (eg. 100mm)

- Prompt user to select two lines/polylines (Each line.polyline represents a pipe)

- Check if lines intersect

- If lines intersect then request/Calculate the following variables

  Pipe 1:

  1. Upstream Invert Level - User Input (UI)
  2. Downstream Invert Level - UI
  3. Pipe Diameter - UI
  4. Intersection Length with other Pipe (Line/polyline)- Calculated
  5. Slope - Calculated Slope = Length/(Upstream Invert Level - Downstream Invert Level)
  6. Intersection Invert Level - Calculated Intersection Invert Level = Upstream Invert Level - (Intersection Length/ Slope)
  7. Crown Level - Calculated Crown Level = Intersection Invert Level + Diameter

The Lisp will have to calculate the same for pipe 2.

 

- The next step will be to run clash check

     1. Compare the intersection Invert level from both pipes and find which pipe is the highest

     2. Then subtract from the highest pipe invert level against the lower pipe invert level plus the diameter.

     3. Check if the distance between the pipes to establish state:

          - If distance less than 0 then its a  - clash

          - if distance less than clearance - very close

          - if distance greater than clearance - No Clash

- Draw circle a circle based on the status of the pipes - Green if clear (no clash), orange if close, red if clash

 

**Side bonus if the lisp can either: a) Allow the user to select an Mtext which contains the value of IL or B) The lisp searches for an Mtext near the pipe (on a specified layer - maybe prompt the user to select which layer is the mtext in as there are two types of pipes storm & foul).

 

I am happy to appoint the right person to develop this lisp in exchange for a fee if required. However my preference is to be pointed out to the right sources/reading materials that can help me achieve this.

 

Thank you for taking the time reading this.

Link to comment
Share on other sites

Link to comment
Share on other sites

Hi Bigal,

 

Thanks for the reply. I am aware there are other software that can do this. However, we do not tend to model private (housing) drainage and we just draw them in 2d hence the need for the clash check analysis.

 

Based in UK, wbu?

Link to comment
Share on other sites

You need 

Program Autodesk Navisworks

0r program civil 3d

Manage

Can you attached example drawing 

Edited by hosneyalaa
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...