• 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. axlDBCreatePadStack Warnings...

Stats

  • Replies 1
  • Subscribers 159
  • Views 12976
  • Members are here 0
More Content

axlDBCreatePadStack Warnings...

mikebystedt
mikebystedt over 11 years ago
Hi All, have any of you seen these errors before?  I'm getting closer and closer to creating my padstacks,
but still get some warnings that don't seem to point me in the right direction. (I'm a programmer and new to
pcb design).  My current function to copy padstacks is listed below.

I'm seeing things like the following:
- W- *WARNING* (axlDBCreatePadStack): Hole larger than pad size on layer FILMMASKTOP
- W- *WARNING* (axlDBCreatePadStack): Padstack origin outside pad boundary on layer TOP

I'm assuming that they must be the figureSizes for the drillData and the Pad data.  The wording of the messages
don't really give me too many hints on what to next to resolve these.  Again, I'm new to this, and especially to the
createPadStack function.  

Any help is greatly appreciated!

-Mike

-------------------------------------------------------------------------------------------------------------------------------------------------------------
procedure( copyPadStack(padStackName newPadStackName)
  let(( form padStackName newPadStackName drill_data )   
  
ps = axlLoadPadstack(padStackName)
/*** Get Drill Data for padStack ***/
drill_data = make_axlPadStackDrill(
;?fixed ps->fixed
;?uvia   ps->uvia
;?keepout   ps->keepout
?drillDiameter ps->drillDiameter
?figure ps->drillFigureName ;;symbol
;?figureSize ps->figureSize
?figureSize list(ps->drillFigureWidth ps->drillFigureHeight)
?offset ps->drillOffset
?plating ps->plating ;;symbol
?drillChar ps->drillChar
;?multiDrillData ps->multiDrillData
;?holeType ps->holeType ;;symbol
;?slotSize ps->slotSize
;?holeTolerance ps->holeTolerance
;?drillNonStandard ps->drillNonStandard ;;symbol
)

padList = nil
foreach( pad ps->pads
/*** Get the figure size. ***/
ll = car(pad->bBox)
ur = cadr(pad->bBox)
x1 = car(ll)
y1 = cadr(ll)
x2 = car(ur)
y2 = cadr(ur)
width = x2 - x1
height = y2 - y1
figureSize = list(width height)
type = stringToSymbol(pad->type)
when( type == 'ANTI  type = 'ANTIPAD )

newPad = make_axlPadStackPad(
?layer cadr(parseString(pad->layer "/")) 
?type type  ;;Symbol
?figure pad->figureName ;;Symbol
?flash pad->flash ;;String
?figureSize figureSize ;;Must adjust size to so that it matches the type.
?offset pad->offset
)
/*** ignoreLayers is just for debugtging. Trying to isolate different warning messages. ***/
ignoreLayers = nil
;ignoreLayers = list("FILMMASKTOP" "PASTEMASK_BOTTOM" "PASTEMASK_TOP" "FILMMASKBOTTOM")
unless( member(cadr(parseString(pad->layer "/")) ignoreLayers) ;;Mike. Just for debugging.
padList = cons(newPad, padList)
padList = reverse(padList) ;;Temp. Just for debugging.  Order shouldn't matter.
)
)
mikeDB = axlDBCreatePadStack(newPadStackName, drill_data, padList)
  );End let.
);End copyPadStack().
  • Sign in to reply
  • Cancel
  • eDave
    eDave over 11 years ago

    Both those "errors" are just warnings so you could ignore them.

    There is no problem having some pads smaller than the hole. This is common with etch on unplated holes.

    The "Padstack origin outside pad boundary" is probably due to a large offset on the source pad. This is OK but it's a warning you should review.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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