A function to connect lines (paths) that endpoints are near each other?

Ask a Question related to Adobe Illustrator Macintosh, Design and Development.

  1. #1

    Default A function to connect lines (paths) that endpoints are near each other?

    I am pretty sure I read this in the manual somewhere, but is there a function to connect lines (paths) that endpoints are near each other? I have imported some .dwg files, the work looks like it is all "connected" however when I select it to fill, only one line is selected. It would be easier for me to recreate the object rather than selecting each path and conecting them, again is there a function to conect all of the endpoints if they are right next to each other, so that I can fill it with a color?
    thanks for your help.
    michael_affeld@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. SQL Server 2005 Endpoints
      Hello, I am trying to fetch data from SQL Server 2005, bypassing IIS. SQL 2005 Endpoints require a username and password and don't support...
    2. lsof - find both endpoints of a unix socket?
      I'm stracing a process which shows that it is reading/writing from/to fd 3. lsof shows that fd 3 is a unix domain socket. kdesktop_ 9665 marc ...
    3. Can't Connect Within Function?!
      If I try to connect to a database within a function, I get the following error. Why is this? MySQL Connect Error : Can't connect to local MySQL...
    4. [PHP] Can't Connect Within Function?!
      On Monday, September 1, 2003, at 11:33 AM, Mike Morton wrote: Ohh, I didn't even think of that. Thanks. Seth Willits...
    5. note 33678 added to function.mysql-connect
      Çäåñü âû íàéäåòå êó÷ó ïîëåçíîãî ìàòåðèàëà , ïîñåòèòå ãàëåðåþ 3D ðàáîò äðóãèõ äèçàéíåðîâ, ÑÊÀ×ÀÒÜ ÃÎÒÎÂÓÞ ÐÀÁÎÒÓ èëè çàäàòü ñâîé âîïðîñ íà...
  3. #2

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    Like a global merge with a min/max distance to merge points? I use this ALL the time in Lightwave but am absolutely unsure if AI has the feature. I know it can be scripted, but not by my unseasoned hand.

    In the meantime cmnd-option-shift J will join/average 2 points, but you have to manually go through the entire document to miraculously get them all.
    hitpawz@adobeforums.com Guest

  4. #3

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    michael,

    Check out Rick Johnson's Concatenate PlugIn for Illustrator. You can select a line by color and put it together into a real line so that a dashed effect will work.

    Larry
    Larry_G._Schneider@adobeforums.com Guest

  5. #4

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    This is not the most precise method, but you can try this:

    Select all the strokes
    Outline Stroke
    Apply Pathfinder Add (and Expand)
    Select the outside path of the compound object this creates, and delete it.

    What's left is pretty close to your original, and you can apply whatever stroke and fill the original seemed to have. You may need to use Offset Path to set it back out to original position (e.g., if your path was 2 pts wide, after you outlined it and deleted the outside, your new path is 1 point to the inside of the original, so you can offset it by 1 pt to try to get it back).

    You may need to do a little clean-up by hand.
    jonf@adobeforums.com Guest

  6. #5

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    Btw, when you imported the dwg file, did you have "Unite Separate Paths" checked? That might solve the whole thing.
    jonf@adobeforums.com Guest

  7. #6

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    I brought them into aics just by opening them from ai. Is the 'unite seperate paths" function anywhere else (it sounds like exactly what i need and i will be going to look for it after i finish writing this). Again, the objects are already in ai and the source deleted so i will be looking for a function that will do this within ai.
    thanks
    michael_affeld@adobeforums.com Guest

  8. #7

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    When you open a ,dwg and .dxf file it gives you this option.

    But if you go here

    <http://personalpages.tds.net/~graffix/software/plugins.html>

    and download Concatenate you will find you have more control and options
    and I can't tell you how many times people have thanked me for recommending this to them.
    Wade_Zimmerman@adobeforums.com Guest

  9. #8

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    set thanks to thanks + 1
    hitpawz@adobeforums.com Guest

  10. #9

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    If the source is deleted you can try exporting your file as a .dwg and re-opening it in AI. The "Unite Separate Paths" box should be in the Open dialog.
    jonf@adobeforums.com Guest

  11. #10

    Default Re: A function to connect lines (paths) that endpoints are near each other?

    Michael,

    have a try with this action:

    <http://share.studio.adobe.com/axAssetDetailSubmit.asp?aID=9948>

    Please notice the instructions in the sample file included in the zip file. As there are some restrictions I recommend Rick Johnsons Plugin as Wade already did.

    Kurt Gold
    Kurt_Gold@adobeforums.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139