Results 1 to 5 of 5

Thread: Intersections Points of Polylines

  1. #1
    Member
    Join Date
    2008-05
    Location
    Fortaleza, Ceara, Brazil
    Posts
    8
    Login to Give a bone
    0

    Default Intersections Points of Polylines

    Dear friends,
    I'm trying to find the intersections points of polylines using the Vla-IntersectWith, but the insertion points aren't corrects!
    Test 1: The intersection point is wrong! I expected (0, 0, 0) and (0.14, 0, 0) I got (0.07, 0, 0) and (0.14, 0, 0)
    Test 2: I got 3 intersection points and the right is 2. The first point was repeated at the end!
    What is wrong? Thanks in advance
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    2006-12
    Location
    Cascais, Portugal
    Posts
    25
    Login to Give a bone
    0

    Default Re: Intersections Points of Polylines

    Hi Troller,
    your code works as expected, the intersection points are those...

    The polylines are not orthogonal, and if you do a zoom, a realy close one, you will see it...

    Henrique

  3. #3
    Member
    Join Date
    2008-05
    Location
    Fortaleza, Ceara, Brazil
    Posts
    8
    Login to Give a bone
    0

    Default Re: Intersections Points of Polylines

    Thanks Henrique! You are right! Is it possible include some tolerance in Vla-IntersectWith or in another function to avoid this error? Thanks again!

  4. #4
    Member
    Join Date
    2006-12
    Location
    Cascais, Portugal
    Posts
    25
    Login to Give a bone
    0

    Default Re: Intersections Points of Polylines

    Quote Originally Posted by Troller View Post
    Thanks Henrique! You are right! Is it possible include some tolerance in Vla-IntersectWith or in another function to avoid this error? Thanks again!
    You're welcome, Troller
    Unfortunately, the 'IntersectWith' method does not allow the use of some fuzz...

    Henrique

  5. #5
    Member
    Join Date
    2008-05
    Location
    Fortaleza, Ceara, Brazil
    Posts
    8
    Login to Give a bone
    0

    Default Re: Intersections Points of Polylines

    Thanks Henrique!

Similar Threads

  1. Replies: 3
    Last Post: 2013-06-08, 02:03 PM
  2. Draw 3d-polylines to points
    By cadplayer in forum AutoLISP
    Replies: 0
    Last Post: 2012-02-07, 02:50 PM
  3. Replies: 7
    Last Post: 2008-02-22, 04:13 PM
  4. Creating Points from 3D polylines
    By jtgb in forum AutoCAD Civil 3D - General
    Replies: 2
    Last Post: 2005-11-09, 08:39 PM
  5. Intersections murs et poutres / wall-beam intersections
    By gravelin in forum Revit Architecture - General
    Replies: 3
    Last Post: 2005-01-25, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •