Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2000
    Posts
    11

    Question Joining thousands of lines to whole shapes

    Hello, everyone.
    I have imported a file from CAD software that has several hundreds of lines that visually create shapes but are disjointed.
    My question: is there a fast way to select lines that represent a face and join them so that they can be filled?
    Please see the attached sketch for a better explanation.

    Every file has hundreds of lines and joining them one by one is not an option.
    I'd prefer to select all the lines of a face, somehow join them, fill the shape, go to next shape etc.
    Any help appreciated.

    Click image for larger version. 

Name:	example-delete.jpg 
Views:	243 
Size:	26.4 KB 
ID:	116257

  2. #2
    Join Date
    Mar 2007
    Location
    ...Granada province, Andalucia, Spain
    Posts
    5,302

    Default Re: Joining thousands of lines to whole shapes

    The short answer is no. It rather depends on the complexity of the shapes as to whether it is quicker to redraw them from scratch, or joining each shape to the next individually, which can be quite fiddly. I'm assuming that the example you have posted is not what you actually want to join, as that would be a simple task.
    Bob.
    ** Detailed "Create A Spinning Logo Tutorial" is available in .pdf format for download at this link **
    Outside of a dog, a book is a man's best friend. Inside of a dog, it's too dark to read. Groucho Marx.

  3. #3
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,295

    Default Re: Joining thousands of lines to whole shapes

    Bob - it's worth the OP trying ivan's old tip for filling un-enclosed shapes, but it comes with a qualification that their may be the odd issue later on depending what you do

    to try: - manually join one of the unenclosed shapes and fill - select this and all of the other unenclosed lines - then press control+J

    no guarantees... use a duplicate file to test
    -------------------------------
    Nothing lasts forever...

  4. #4
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,295

    Default Re: Joining thousands of lines to whole shapes

    just done a quick test and I rather think there may be issues with the filling if there are several gaps

    me i'd use illustrator, or inkscape maybe, both of which have gap tolerant filling which xara does not; but even then, the more gaps, the more fiddly it may become
    -------------------------------
    Nothing lasts forever...

  5. #5
    Join Date
    Jun 2002
    Location
    Dunoon, Scotland
    Posts
    4,778

    Default Re: Joining thousands of lines to whole shapes

    Why not lock your CAD layer, make a new layer, then trace over your shape as it is at the most 6 control points it will only take seconds to do F4 (Shape Editor Tool).
    Design is thinking made visual.

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Joining thousands of lines to whole shapes

    Here's a method that works well for fairly straight forward lined drawings but how well it could be done from a cad file with 100's of lines, without the original file, I couldn't say. I doubt it's up to it, but worth a try

    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  7. #7
    Join Date
    Nov 2000
    Posts
    11

    Default Re: Joining thousands of lines to whole shapes

    Yes! That's it, it works. Thank you very much Mr Egg Bramhill and thanks for the elaborate video!

  8. #8
    Join Date
    Nov 2000
    Posts
    11

    Default Re: Joining thousands of lines to whole shapes

    @iamtheblues Yes the shapes are more complex. Thanks for the reply.

  9. #9
    Join Date
    Nov 2000
    Posts
    11

    Default Re: Joining thousands of lines to whole shapes

    @Albacore that would be like recreating the entire CAD drawing not an option. Thanks for the reply.

  10. #10
    Join Date
    Nov 2000
    Posts
    11

    Default Re: Joining thousands of lines to whole shapes

    @handrawn Didn't know how to do it in inkscape but thanks for the pointer.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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