Create Array pad enumeration

Bug #1809580 reported by Sebastian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Wishlist
John Beard

Bug Description

For many footprints a even/uneven numbering scheme is used for the padnames.

I suggest adding two additional choices for pad scheme numbering called:

 - even
 - uneven

Tags: pcbnew array
Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
John Beard (john-j-beard) wrote :

I think this could be done as a "skip" parameter.

For something like a ZIL or FPC footprint, the stagger options and/or numbering options should allow most arrays to be generated all at once already.

For example an array like this:

  1 3 5 7
  2 4 6 8

Can be made with a 4x2 array, with number direction "vertical, then horizontal".

Add a horizontal offset to get:

  1 3 5 7
    2 4 6 8

Revision history for this message
Sebastian (herostrat) wrote :

This is true John.

In my particular case, I design edge connectors, where on the top side are even numbered pads, whereas on the bottom side are pads with uneven numbers.

This is a rather special case, I know.
I just thought it would be a worthwile addition.

Even better (and most likely a lot harder to implement) is a formula place, where you can plug in a formula with which the pad number/name can be generated, e.g. with a regex.

But thats overkill for most usecases. And in the cases it would be useful a simple python script would be better suited I guess.

Revision history for this message
John Beard (john-j-beard) wrote :

@Sebastian: I see, yes, this is not currently possible to do in one go.

I think a skip parameter makes sense, and perhaps a "flip sides on alternate row/column" might make sense for footprints like this too.

In the Python scripts, the PadArray helper functions actually do allow a formula for pad naming.

Revision history for this message
John Beard (john-j-beard) wrote :

Note: A patch for this was submitted in 2015 and died on the mailing list: https://lists.launchpad.net/kicad-developers/msg19326.html

Revision history for this message
Sebastian (herostrat) wrote :

I see you already sent in a lot of updates/rework for the array tool:
https://lists.launchpad.net/kicad-developers/msg39213.html

(posted here for tracking this issue)

Changed in kicad:
assignee: nobody → John Beard (john-j-beard)
tags: added: array pcbnew
removed: enumeration pad wishlist
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 0eb8f92c690f4480e14b066536aa7483e4244f98
https://git.launchpad.net/kicad/patch/?id=0eb8f92c690f4480e14b066536aa7483e4244f98

Changed in kicad:
status: Triaged → Fix Committed
Changed in kicad:
milestone: none → 6.0.0-rc1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.