Home > Community > Forums > PCB SKILL > help:use axlAirGap() in text

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: *

 help:use axlAirGap() in text 

Last post Mon, Oct 12 2009 7:30 PM by tingletingle. 2 replies.
Started by tingletingle 09 Oct 2009 07:18 PM. Topic has 2 replies and 1301 views
Page 1 of 1 (3 items)
Sort Posts:
  • Fri, Oct 9 2009 7:18 PM

    help:use axlAirGap() in text Reply

        car(last(axlAirGap(each_solder each_silk axlConductorTopLayer())))

    I want to get air gap between soldermask element and silkscreen element, but it always returns nil when silk element is text.

    whether the axlAirGap() can check text or not?

    Allgro version:15.7

    OS:Windows XP SP2

    Filed under:
    • Post Points: 20
  • Mon, Oct 12 2009 1:59 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 738
    • Points 16,055
    Re: help:use axlAirGap() in text Reply

    You will find that, even if you could measure between soldermask and text, it won't be very useful as the measure for text is done from the text's bounding box. It is quite painful to do a "correct" and useful measure. See my autosilkUtils code (it's in the Skill repository on SourceLink) to see how I have done it. Basically I create a set of temporary shapes, tracing the font of the text, and measure to those shapes from the soldermask pad.

    Dave Elder, Tait Communications
    • Post Points: 20
  • Mon, Oct 12 2009 7:30 PM

    Re: help:use axlAirGap() in text Reply

    I think it is useful.

    I also think about this idea first, but I am afraid to damage design file if some errors in running this command.

    However, I will try it again, thank you Dave.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by tingletingle at 09 Oct 2009 07:18 PM. Topic has 2 replies.