Home > Community > Forums > PCB SKILL > Using Skill to create a Padstack with a Thermal subclass that has geometry set to "Flash"

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

 Using Skill to create a Padstack with a Thermal subclass that has geometry set to "Flash" 

Last post Mon, Jul 14 2014 7:12 AM by thewill2live. 2 replies.
Started by thewill2live 09 Jul 2014 02:08 PM. Topic has 2 replies and 612 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Jul 9 2014 2:08 PM

    • thewill2live
    • Top 500 Contributor
    • Joined on Wed, Jul 9 2014
    • Santa Clara, CA
    • Posts 23
    • Points 415
    Using Skill to create a Padstack with a Thermal subclass that has geometry set to "Flash" Reply

    Hi all,

     Trying to pick up Skill here on my own and I'm having a bit of difficulty trying to get a specific part of my code to work. I am writing a Skill program that will be able to automatically generate a padstack based off of a naming scheme. I have most of it figured out but I cannot get the code to work for instances where I want a plated through hole pad that has a thermal subclass on the default internal layer that has a geometry of "Flash". I am attempting to set it using the ?figure parameter but that only recognizes Circle, Square, Oblong, Rectangle, Null, and Octagon as valid inputs but not Flash (even though Flash is a valid choice in that dropdown menu in the Allegro Padstack Editor. I'm using Allegro 16.6 and I've included the line in question with the section I'm speaking of bolded. Any advice is appreciated.

    ; This would work, but is not what I need. 

     pad_list = cons(make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figure 'OCTAGON, ?figureSize 80:80) pad_list)

     

    ; This won't work, but is what I'm trying to accomplish 

     pad_list = cons(make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figure 'FLASH, ?figureSize 80:80) pad_list)

     

    Thanks,

     

    Will 

    Filed under: , ,
    • Post Points: 20
  • Sun, Jul 13 2014 9:15 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 744
    • Points 16,115
    Re: Using Skill to create a Padstack with a Thermal subclass that has geometry set to "Flash" Reply

    Don't inclue the ?figure option.

    Try:

    make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figureSize 80:80)  

    Dave Elder, Tait Communications
    • Post Points: 20
  • Mon, Jul 14 2014 7:12 AM

    • thewill2live
    • Top 500 Contributor
    • Joined on Wed, Jul 9 2014
    • Santa Clara, CA
    • Posts 23
    • Points 415
    Re: Using Skill to create a Padstack with a Thermal subclass that has geometry set to "Flash" Reply

    Thanks Dave,

     I tried that already and leaving out the ?figure option results in it being evaluated as nil and the padstack is made with a "Null" geometry. I actually just figured this out on Friday. Since there is no predefined option for "Flash" I couldn't use ?figure 'FLASH. But since it is really just evaluated as a string,  I found that I could pass in a string and get the desired result. So I did: 

    make_axlPadStackPad(?layer "DEFAULT INTERNAL", ?type 'THERMAL, ?flash "Th391x371x92", ?figure "FLASH", ?figureSize 391:391) pad_list 

    And that solved my problem. 

     

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by thewill2live at 09 Jul 2014 02:08 PM. Topic has 2 replies.