User-defined PCB layers

Bug #1231617 reported by Luis Filipe Rossi
104
This bug affects 20 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

Would be nice to be able to add extra auxiliary layers at Pcbnew to create a flexible documentation. Also, a standard courtyard layer for both component sides would be nice as it would help to follow IPC7351.

summary: - add extra auxiliary layers at Pcbnew
+ Feature Request: add extra auxiliary layers at Pcbnew
Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote : Re: [Bug 1231617] [NEW] Feature Request: add extra auxiliary layers at Pcbnew

On Thu, Sep 26, 2013 at 06:20:46PM -0000, Luis Filipe Rossi wrote:
> Public bug reported:
>
> Would be nice to be able to add extra auxiliary layers at Pcbnew to
> create a flexible documentation. Also, a standard courtyard layer for
> both component sides would be nice as it would help to follow IPC7351.

Already working on it. The dev team however has mismatching opinions on
how it should be implemented :P

--
Lorenzo Marcantonio
Logos Srl

Revision history for this message
Nimo (nimo-labs) wrote : Re: Feature Request: add extra auxiliary layers at Pcbnew

Would it be worth posting the opinions here for some user feedback?

Changed in kicad:
importance: Undecided → Wishlist
xzcvczx (xzcvczx)
summary: - Feature Request: add extra auxiliary layers at Pcbnew
+ Add extra auxiliary layers at Pcbnew
Revision history for this message
Joan (joanthesparky) wrote : Re: Add extra auxiliary layers at Pcbnew

Has there been any development going on with this?

I'm currently running into a catch-22 here while doing documentation prints for my boards.
I would need an extra pair of layers with Front/Back feature included.
The Eco1.User and Eco2.User layers are nice, as they can be used for anything I want, but they miss the Front/Back functionality that all the other F.bla/B.bla layers have.
The other F.bla/B.bla layers are all having a purpose already assigned, so can't reuse them, as I already need them.

Revision history for this message
Jakub Kozdon (fldrivers) wrote :

I think that layers should be freely configurable for full freedom in development. This can limit bugs like this.

Configuration can be:
enabled: checkbox (not needed if layers can be added or removed in layer settings)
side: front (top/component), back (bottom/solder), none > can be used for swapping between top and bottom in KiCad source
name: text box
is routable: checkbox
type: for routable layer same as now (signal, power, mixed, jumper and maybe something more), for non routable layers (silkscreen, solder mask, solder paste, adhesive, milling/v-score/mechanical, user layer (as "user layer" or text box for user input))

Will this be possible ?

Revision history for this message
Simon Kueppers (skuep) wrote :

If KiCad wants to enter the (semi) professional market, this is a must. For example I have used EAGLE (...) and Altium Designer before. Regularly we need to draw additional information into the board. For example bond wires to bond bare-die chips onto the PCB (that are printed into a PDF) or 2D drawings that are exported to a 3D CAD tool and extruded in order to build the enclosure.

Since we are soon starting a new company, we would really benefit from this feature, since KiCAD is right now our most promising shot for a modern PCB EDA tool. We are also planning on developing python plugins that we will probably be releasing to the public.

Best Regards

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

This is going to added to the version 6 road map if isn't there already. Internally, the board file format has about 24 undefined layers. We just haven't gotten around to getting them hooked up to the configuration and UI code.

Changed in kicad:
status: New → Triaged
Jeff Young (jeyjey)
summary: - Add extra auxiliary layers at Pcbnew
+ User-defined PCB layers
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

See duplicate "Create custom layers according to GerberX2 FileFunction spec" [1].

[1] https://bugs.launchpad.net/kicad/+bug/1733710

tags: added: feature.request pcbnew
Changed in kicad:
milestone: none → 6.0.0-rc1
Revision history for this message
Jan-Åke Larsson (jalar) wrote :

I would prefer if the standard Gerber X2 layer "Vcut" would be added as a standard layer, mentioned above as V-score.

I’ve recently had panels manufactured with v-cut as vertical separation of boards, and routed slots for horizontal separation, this worked well. Just for reference, the code draws the V-cut in the pcbnew module in the Eco1.User layer, plots the Gerber, and changes the output file to Vcut following the Gerber X2 file format. And as I said, this was handled without issue by the manufacturer. The relevant code is as follows:

##### Generate gerbers for Vcut
if Eco1_as_Vcut:
  pctl.SetLayer(pcbnew.Eco1_User)
  pctl.OpenPlotfile("Vcut", pcbnew.PLOT_FORMAT_GERBER, "Vcut")
  pctl.PlotLayer()
  pctl.ClosePlot()
  # Change Eco1.User to Vcut inside Gerber X2 file, see
  # https://www.ucamco.com/files/downloads/file/81/the_gerber_file_format_specification.pdf
  with open(pctl.GetPlotFileName(), "r+") as f:
    contents=f.readlines()
    for i,line in enumerate(contents):
      if line=="%TF.FileFunction,Other,ECO1*%\n":
        contents[i]="%TF.FileFunction,Vcut*%\n"
    f.seek(0)
    f.truncate()
    f.write("".join(contents))

Revision history for this message
Cedric De Wijs (cedric12345) wrote :

See duplicate "Pcbnew: extra layers for defining front panels":
https://bugs.launchpad.net/kicad/+bug/1847899

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1969

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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