Finding intersect of a chamfer

Discussion in 'AutoCAD' started by Rabbit, Jul 8, 2004.

  1. Rabbit

    Rabbit Guest

    I have the following bit of code in Lisp:

    (command ".line" pnt3 pnt4 "")
    (setq Line3 (entlast))
    (command ".line" pnt5 pnt6 "")
    (setq Line4 (entlast))
    (command "chamfer" Line3 Line4)


    How would I go about finding the intersection of these two lines via lisp?
     
    Rabbit, Jul 8, 2004
    #1
  2. Check out the (inters) function.

    --
    R. Robert Bell


    I have the following bit of code in Lisp:

    (command ".line" pnt3 pnt4 "")
    (setq Line3 (entlast))
    (command ".line" pnt5 pnt6 "")
    (setq Line4 (entlast))
    (command "chamfer" Line3 Line4)


    How would I go about finding the intersection of these two lines via lisp?
     
    R. Robert Bell, Jul 8, 2004
    #2
  3. Check out the (inters) function.

    Thanks Robert. I knew what it did, but since I've never had a use for it
    until now and had forgotten all about that it. Checking it now.
     
    Rabbit @ home, Jul 8, 2004
    #3
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.