3D Polyline interfering with solids

Discussion in 'AutoCAD' started by Istuart, May 24, 2004.

  1. Istuart

    Istuart Guest

    First, some background. What I am trying to do is use a genetic algorithm to determine the best path to route a pipe through an increasingly crowded space. Given a start and end point, I want to evaluate fitness based on number of collisions, number of nonstandard fittings, etc. . .
    What I am currently having difficulty with is a routine to test for interference between a 3D polyline, and various 3D Solids. Is there some pre existing bit of code that does this, or do I have to increment along the line and test to see if I am inside a solid or not?

    Thanks in advance for the help.

    Ian
     
    Istuart, May 24, 2004
    #1
  2. Istuart

    wivory Guest

    I think you might be forced to use 3D Cylinders for your pipe instead of the polyline so you can easily test for interference. Of course you can make them as "thin" as you want.

    Regards

    Wayne Ivory
    IT Analyst Programmer
    Wespine Industries Pty Ltd
     
    wivory, May 25, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.