join two paths

Discussion in 'Cadence' started by jbrand, Aug 11, 2005.

  1. jbrand

    jbrand Guest

    Hi,

    I'm looking for code to join two paths. The result should be one path
    which is the combination of the two.

    Joe
     
    jbrand, Aug 11, 2005
    #1
  2. Are the paths ending on coincident points ?
    For this, the code should be quite easy.

    If you have situations where the paths are overlapping, that can be
    a bit complex, especially if you have multiple overlaps, and/or
    closed loops.

    Kholdoun TORKI
    http://cmp.imag.fr
    =====================
     
    Kholdoun TORKI, Aug 11, 2005
    #2
  3. jbrand

    jbrand Guest

    Right now, I 'm just concerned with councident end points and two
    paths. I was hoping there might be some code already written. The
    code is easy , but every time I need a snippit if code, I have to
    re-invent the wheel. I haven't been able to find a decent repository
    of skill code out there. Anyone know if there is one?

    Joe
     
    jbrand, Aug 11, 2005
    #3
  4. If I understand correctly, Edit->Merge command should help.
     
    Suresh Jeevanandam, Aug 11, 2005
    #4
  5. jbrand

    jbrand Guest

    The Edit=>Merge will convert to a merged polygon. I want the path to
    be combined into one path as a path.

    Joe
     
    jbrand, Aug 11, 2005
    #5
  6. jbrand

    jbrand Guest

    The Edit=>Merge will convert to a merged polygon. I want the paths to
    be combined into one path as a path.

    Joe
     
    jbrand, Aug 11, 2005
    #6
  7. But if the edges are just touching, the merge does not result a polygon;
    it creates a path.

    regards,
    Suresh
     
    Suresh Jeevanandam, Aug 12, 2005
    #7
  8. jbrand

    jbrand Guest

    Ok, I tried that and it works for paths when the ends are butting but
    the direction is not changing. I'm trying to automate this and almost
    have the code I need written. Again, I'm sure there is code out there.
    I write a lot of skill code and end up re-inventing the wheel most of
    the time. It would be nice if there were some sort of user supported
    skill repository...

    Joe
     
    jbrand, Aug 12, 2005
    #8
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.