Author Topic: Plate for KiCad PCB ?  (Read 6085 times)

0 Members and 1 Guest are viewing this topic.

Offline tedfs3

  • Thread Starter
  • Posts: 51
    • No Mercy Given
Plate for KiCad PCB ?
« on: Sun, 21 April 2019, 22:07:20 »
I know there is a plate builder for KLE, used it more than a few times checking out different layouts in the few months I've been working on this

My question is this: Is there a similar way to simply build a plate for a PCB designed in KiCad that doesn't match the default layouts in KLE ?
Just for the heck of it I exported the DFX from KLE and imported it as graphics into KiCad to see how everything matched up and it's close but not close enough.

What would be the proper way to create a plate from a keyboard layout designed in KiCad ?

Offline equalunique

  • Posts: 539
Re: Plate for KiCad PCB ?
« Reply #1 on: Sun, 21 April 2019, 22:54:19 »
What I did for the Contra (a much simpler example) was export a SVG from KiCAD, then edit it in Inkscape until it had all the necessary holes. The PCB art/legends/whatever already had the 14mm*14mm squares necessary for a plate.

Sent from my LG-H918 using Tapatalk


Offline tex_live_utility

  • Posts: 990
  • MX brown apologist
    • twitch.tv/salt_rock_lamp
Re: Plate for KiCad PCB ?
« Reply #2 on: Tue, 23 April 2019, 10:37:58 »
Can you use the switch centerpost holes to align the plate cutouts? I know it's possible (albeit tedious) to line up objects using their center points in Fusion 360.
Discord: salt rock lamp#0679 | Reddit: /u/nerdponx | Deskthority: autoload -Uz | Keebtalk: salt_rock_lamp
Twitch: salt_rock_lamp | YouTube: https://www.youtube.com/channel/UCd7YXZjilUutJ6ShZWrvQtg | Instagram: @salt_rock_keyboards


Offline The Gambler

  • Posts: 20
  • Your resident osu! player, destroyer of keyboards.
Re: Plate for KiCad PCB ?
« Reply #3 on: Wed, 24 April 2019, 12:53:18 »
You can do it by creating footprints using the Edge.Cuts layer to create the square cutouts. Then in the board layout, the component can be aligned using the middle points (assuming your footprint is aligned in the middle). KiCAD doesn't natively support the Edge.Cuts layer in the Footprint Editor, so you will need to edit the .kicad_mod file in order to swap layers.

At least that's what I did for creating PCB plates in KiCAD. I use Fusion360 for lasercutting and 3D Printing.
DIY LFKeyboards VA68M ALPS
Gherkin ALPS
DIY MF68 Clears (di0ib's PCB)
Too many osu! keypads

Logitech G203/ Zowie ZA12

Offline BlindAssassin111

  • Posts: 1107
  • Location: Behind you
  • I design keyboards and stuff.
    • Viktus
Re: Plate for KiCad PCB ?
« Reply #4 on: Wed, 24 April 2019, 13:02:42 »
You can do it by creating footprints using the Edge.Cuts layer to create the square cutouts. Then in the board layout, the component can be aligned using the middle points (assuming your footprint is aligned in the middle). KiCAD doesn't natively support the Edge.Cuts layer in the Footprint Editor, so you will need to edit the .kicad_mod file in order to swap layers.

At least that's what I did for creating PCB plates in KiCAD. I use Fusion360 for lasercutting and 3D Printing.

You can also make plates in CAD(like F360), export as .DXF and then import that into KiCAD.

Offline The Gambler

  • Posts: 20
  • Your resident osu! player, destroyer of keyboards.
Re: Plate for KiCad PCB ?
« Reply #5 on: Wed, 24 April 2019, 15:42:03 »
I initially did that with swill's DXF files in KiCAD, but found it was hard to align the plate DXF with the grid. That basically threw off most of my measurements. I use the footprints to preserve my KiCAD workflow.

It is useful if I want just the FR4 plate cut, but if I want to start adding copper layers the alignment of the plate with the grip will throw me off. Not to mention, a copper-less design is going to raise issues with most fabs.

DIY LFKeyboards VA68M ALPS
Gherkin ALPS
DIY MF68 Clears (di0ib's PCB)
Too many osu! keypads

Logitech G203/ Zowie ZA12

Offline BlindAssassin111

  • Posts: 1107
  • Location: Behind you
  • I design keyboards and stuff.
    • Viktus
Re: Plate for KiCad PCB ?
« Reply #6 on: Wed, 24 April 2019, 15:52:38 »
I initially did that with swill's DXF files in KiCAD, but found it was hard to align the plate DXF with the grid. That basically threw off most of my measurements. I use the footprints to preserve my KiCAD workflow.

It is useful if I want just the FR4 plate cut, but if I want to start adding copper layers the alignment of the plate with the grip will throw me off. Not to mention, a copper-less design is going to raise issues with most fabs.

What measurements would that through off? You design the full plate in CAD and export it, so nothing else is needed.

And for the second point, all you have to do is add two SMD pads on both from and back, uncheck the soldermask checkbox in their pad properties(makes it so they are fully covered by soldermask and not exposed) add copper fills that are solid and then you have a plate that is perfectly ready for fab.

Not knocking doing it all in KiCAD, but that does limit you on geometry you can actually achieve without more headaches.

Offline The Gambler

  • Posts: 20
  • Your resident osu! player, destroyer of keyboards.
Re: Plate for KiCad PCB ?
« Reply #7 on: Wed, 24 April 2019, 17:32:07 »
This is more lack of experience in KiCAD for me.

I usually add keepout areas inside the switch cutouts as to not confuse myself in 3DViewer about why a layer of copper is sitting right above a switch hole. It is usually aligned to a grid, since I am currently working on a simple 2x4 keypad plate.

Importing from swillkb is easy, but I found myself having difficulty precisely aligning the switch cutouts with the grid. This prevents me from placing a properly-aligned keepout area and copper fills on an imported DXF file.

Again its a workaround I found for a simple layout, with me wanting precisely-aligned copper fills and keepout areas.
DIY LFKeyboards VA68M ALPS
Gherkin ALPS
DIY MF68 Clears (di0ib's PCB)
Too many osu! keypads

Logitech G203/ Zowie ZA12

Offline BlindAssassin111

  • Posts: 1107
  • Location: Behind you
  • I design keyboards and stuff.
    • Viktus
Re: Plate for KiCad PCB ?
« Reply #8 on: Wed, 24 April 2019, 17:36:02 »
This is more lack of experience in KiCAD for me.

I usually add keepout areas inside the switch cutouts as to not confuse myself in 3DViewer about why a layer of copper is sitting right above a switch hole. It is usually aligned to a grid, since I am currently working on a simple 2x4 keypad plate.

Importing from swillkb is easy, but I found myself having difficulty precisely aligning the switch cutouts with the grid. This prevents me from placing a properly-aligned keepout area and copper fills on an imported DXF file.

Again its a workaround I found for a simple layout, with me wanting precisely-aligned copper fills and keepout areas.

If it works for you, then that is what matters. Just want to try and help people with alternate methods that are a tad more efficient.

And the reasoning for adding the pads is to prevent the issue with having to place keepouts, as copper fills will only work in the areas with the pads and you no longer have to place keepouts in every single cutout ot make the fills work as intended. My method is a workaround of that being an issue. But you method works, so there is no issue. :)