+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Forum Newbie
    Using
    AutoCAD 2012
    Join Date
    Jul 2012
    Posts
    5

    Default Joining... Merging... Melting... Whatever you want to call it...

    Registered forum members do not see this ad.

    I have been struggling for hours now to get a complex drawing simplified.

    What I am looking for is a function similar to what I use in LightWave. There they call it "merge", and what it does is it merges points that are within a certain distance of eachother. Like this:



    I have tried creating plines to simplify them with a LSP script, but ACAD does not seem to be wanting to merge points. Only lines.

    For instance, I want something like this:


    Turned into something like this:


    I've tried loads of stuff and searched for scripts, but I'm about to give up all together. Just can't seem to find anything that comes near it.

    I can simplify polylines and so on, but that is on single lines. What I want is more or less based on points (endpoints), connecting them up if they are within a certain distance of eachother, but not like with overkill, where it deletes lines that are within a certain distance.

    I need the endpoints of lines to be merged, melted, joined... Whatever you want to call it. The final goal being to perform a PEDIT to join the points into a polyline, and finally removing all duplicates.

    I hope I explained what I need correctly, and I really hope someone can help...

    Best regards,
    ice

  2. #2
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,786

    Default

    Looking at second image to me it seems like you have a lot of extra linework that has come from somewhere that you dont want, doing the joins etc is easy and there may be ways of doing this automatically but the clean up part I think can not be done.

    Where did the original lines come from was it an import from other software ?

    Can you post dwg here.
    A man who never made mistakes never made anything

  3. #3
    Forum Newbie
    Using
    AutoCAD 2012
    Join Date
    Jul 2012
    Posts
    5

    Default

    Hi BigAL, thanks for the reply!

    The actual DWG is about 12Mb, so I just cut a part of it to post it here and highlighted some problem areas in red. The biggest problem is the amount of detail which I want to reduce greatly. The plan does not need to be correct, it will be used for visual purposes only.

    When I use the "merge" function in LightWave on the small circular thingy, this is the result I get:



    And on the walls or windows:


    The good thing is that I get to reduce the file drastically for fast display, while retaining a lot of the form of the building so the map is still readabe.

    I cannot import the 12Mb file into lightwave as it crashes upon import from dxf (171Mb dxf file)
    Attached Files

  4. #4
    Forum Newbie
    Using
    AutoCAD 2012
    Join Date
    Jul 2012
    Posts
    5

    Default

    I tried posting the DWG 2 times with examples, but the post disappears each time... :/

    The drawing is a building with too much detail. I want the detail reduced while retaining some general form.

    An example from LightWave is here, the file should be here: Merging.dwg


  5. #5
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,090

    Default

    The closet native AutoCAD command I can think of would be ALIGN, with the scaling option, but even that would not give you the desired results. Sounds like you need a custom lisp routine to emulate the behavior you refer to found in LightWave.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  6. #6
    Luminous Being JD Mather's Avatar
    Using
    Inventor 2013
    Join Date
    Sep 2007
    Location
    Williamsport, PA
    Posts
    6,906

    Default

    Coincident constraint will merge points, but I don't know if there is an automatic method in AutoCAD.
    Certified SolidWorks Professional
    Autodesk Inventor 2013 Certified Professional
    Autodesk AutoCAD 2013 Certified Professional
    http://home.pct.edu/~jmather/content..._Tutorials.htm

  7. #7
    Super Member Murph_map's Avatar
    Computer Details
    Murph_map's Computer Details
    Operating System:
    XP,Visa, Win7
    Computer:
    HP something or other and the laptop is an HP too
    RAM:
    2 gigs or 6 gigs in Laptop
    Discipline
    Utilities
    Murph_map's Discipline Details
    Occupation
    Boats and campers renting and repairs
    Discipline
    Utilities
    Details
    GIS and Map making.
    Using
    Map 3D 2011
    Join Date
    Feb 2011
    Location
    TN or KY depends if I'm at work or home.
    Posts
    593

    Default

    Quote Originally Posted by ReMark View Post
    The closet native AutoCAD command I can think of would be ALIGN, with the scaling option, but even that would not give you the desired results. Sounds like you need a custom lisp routine to emulate the behavior you refer to found in LightWave.
    I agree the Align command then maybe overkill to remove the duplicated points/lines. AutoCAD Map3D and the dwg cleanup tools would come in handy as well.
    Murph

    Need a boat or camper for the weekend?

  8. #8
    Super Member Organic's Avatar
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Feb 2009
    Posts
    1,641

    Default

    I know of no such solution although if 'lightwave' works, then why not simply use that before importing it into AutoCad?

  9. #9
    Forum Newbie
    Using
    AutoCAD 2012
    Join Date
    Jul 2012
    Posts
    5

    Default

    Registered forum members do not see this ad.

    Thanks for the feedback! I Will try that coincident constraint, if it works I can try to put it in a lisp routine to automate it.

    @Dink: I can't do it in lightwave as the files are already dwg by origin, and the files are too big to import into lightwave, the import engine crashes.

    But thanks for the ideas, I have more to go tinker on now

    Best regards,
    Ice

Similar Threads

  1. Help with merging.
    By TechieRefugee in forum AutoCAD 3D Modelling & Rendering
    Replies: 1
    Last Post: 12th Oct 2010, 07:55 pm
  2. Different mlines merging
    By svorgodne in forum AutoCAD General
    Replies: 1
    Last Post: 22nd Jan 2010, 02:08 pm
  3. Merging Surfaces
    By phobos in forum AutoCAD 3D Modelling & Rendering
    Replies: 1
    Last Post: 17th Jul 2009, 11:38 am
  4. Merging sketches!?!?!?
    By cvriv.charles in forum Autodesk Inventor
    Replies: 2
    Last Post: 18th May 2009, 06:22 pm
  5. Merging Drawings, help!!
    By Steward in forum AutoCAD Drawing Management & Output
    Replies: 6
    Last Post: 12th Oct 2007, 02:04 pm

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