• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Creating Web/Thermal shape for paste mask

Stats

  • State Verified Answer
  • Replies 8
  • Subscribers 162
  • Views 2042
  • Members are here 0
More Content

Creating Web/Thermal shape for paste mask

JS202408156358
JS202408156358 10 months ago

Any tips or SKIL files to help create a thermal shaped openings for paste masks for a donut shaped pin for mics or stand-offs like below?

  • Sign in to reply
  • Cancel
  • avant
    0 avant 10 months ago

    You could create four static shapes on the package geometry / paste top layer in the footprint.

    You could also create a shape symbol and add it to the pad stack.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • JS202408156358
    0 JS202408156358 10 months ago in reply to avant

    That is the way I have been approaching it, but was looking to see if Cadence had a skill file that would take od, id, w and angle and create one. I could not find anything and so I created a python script that does the math and generates a pcb script that can be replayed in allegro. Works great, I provide the four parameters, run it, and it generates the script that I replay and create the shape as seen below.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • excellon1
    0 excellon1 10 months ago in reply to JS202408156358

    Hi JS,

    Nice work !. Might I ask did you come up with a method to fill the shapes and what was the key method needed to create the shape geometry within the PCB Editor so as to get your wagon wheel type shape.

    Best Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    0 Hoangkhoipcb 10 months ago

    Hi JS202408156358!

    You can refer this code.

    ;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    axlCmdRegister("create_thermal_shape" 'create_thermal_shape)
    (defun create_thermal_shape ()
    let((angle layer in_put)
    layer = "BOARD GEOMETRY/ASSEMBLY_NOTES"
    axlVisibleLayer(layer t)
    in_put = axlEnterString(?prompts list("Please enter 3 params:\n Ex: 4,100,25"))
    if(in_put != nil && length(parseString(in_put ",")) == 3 then
    point = axlEnterPoint(?prompts "" ?points nil ?gridSnap t)
    if(point != nil then
    p_in_put = parseString(in_put ",")
    id = atoi(car(p_in_put))
    ra = atof(cadr(p_in_put))
    w = atof(caddr(p_in_put))
    printf(" id: %d\n ra: %.2f\n w: %.2f\n" id, ra, w)
    d = axlMXYAdd( 0:ra point)
    r_path = axlMakeDynamicsPath(list(list(d d 0.0 point ra t) list(d d) ) )
    poly1 = car(axlPolyFromDB(r_path ?layer layer ?endCapType 'ROUND))
    poly_expand = car(axlPolyExpand(poly1 -w 'NONE))
    poly2 = car(axlPolyOperation(poly1 poly_expand 'ANDNOT))
    wheel = 360.0 / id
    angle = 0.0
    poly_list = nil
    tmp_point = axlMXYAdd( 0 : (ra + w) point)
    while(angle <= 360.0
    point_rotate = axlGeoRotatePt(angle tmp_point point)
    r_path2 = axlMakeDynamicsPath(list(list(point point_rotate w) ) )
    poly3 = car(axlPolyFromDB(r_path2 ?layer layer ?endCapType 'NONE ?line2poly t))
    poly_list = cons(poly3 poly_list)
    angle = angle + wheel
    )
    poly_or = car(axlPolyOperation(car(poly_list) cdr(poly_list) 'OR))
    poly_or2 = axlPolyOperation( poly2 poly_or 'ANDNOT)
    foreach(poly poly_or2
    axlDBCreateShape(poly t layer nil)
    )

    )
    )
    )
    )
    ;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Regards.

    HoangKhoi.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • excellon1
    0 excellon1 10 months ago in reply to Hoangkhoipcb

    Hi HoangKhoi,

    Thanks for sharing your skill routine. It works very well. I'm sure many will find it useful.

    Best Regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information