Home > Community > Forums > PCB SKILL > How can check the distance between two differnce class/subclass

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How can check the distance between two differnce class/subclass 

Last post Sun, Apr 15 2007 7:05 AM by archive. 4 replies.
Started by archive 15 Apr 2007 07:05 AM. Topic has 4 replies and 1737 views
Page 1 of 1 (5 items)
Sort Posts:
  • Sun, Apr 15 2007 7:05 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    How can check the distance between two differnce class/subclass Reply

    Hi
    I am trying to find good way how to check the distance between two different class/subclass.
    Expecially soldermask and goldmask distance of film artwork is major concern because the minimun distance is required by 0.3mm so manual check is very tedious for small pcb design.

    Please address how to make skill program for this distance check.

    Thanks in advance

    BK Park


    Originally posted in cdnusers.org by bkpark
    • Post Points: 0
  • Sun, Apr 15 2007 10:52 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How can check the distance between two differnce class/subclass Reply

    Hi BK,

    You may be able to use the axlAirGap command.
    axlAirGap(obj1 obj2)
    This will work for shapes on different classes.

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
  • Mon, Apr 16 2007 4:40 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How can check the distance between two differnce class/subclass Reply

    Thanks

    I


    Originally posted in cdnusers.org by bkpark
    • Post Points: 0
  • Mon, Apr 16 2007 4:43 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How can check the distance between two differnce class/subclass Reply

    Thanks Dave

    I tried to run like this as axlAirGap(Solder_mask Gold_mask ), but return fail.
    I am not Skill expert, so please write some code more detailly.




    Originally posted in cdnusers.org by bkpark
    • Post Points: 0
  • Mon, Apr 16 2007 1:05 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How can check the distance between two differnce class/subclass Reply

    Hmmm, you really are jumping in at the deep end!
    First you need to get the dbid of each of the objects that you want to measure between.
    Typically you might want to find the minimum distance between all shapes on a single subclass.

    shapes = axlDBGetShapes("manufacturing/solder_mask")
    minGap = nil
    while(cdr(shapes)
    shp1 = car(shapes), shps = cdr(shapes)
    foreach(shp2, shps
    gap = caddr(axlAirGap(shp1, shp2))
    minGap = if(minGap then min(minGap, gap) else gap)
    )
    )
    minGap; Rturn the minimum gap between shapes on this subclass.

    This code will be slightly more complex if you are measuring between two subclasses - but you should be able to figure it out.

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 0
Page 1 of 1 (5 items)
Sort Posts:
Started by archive at 15 Apr 2007 07:05 AM. Topic has 4 replies.