Electronic – Elliptical board edges in KiCAD or CircuitPro

kicadpcb

I am trying to use KiCAD to design a PCB which must fit into an existing case. One side of the PCB needs to be shaped as a specific elliptical arc segment. I can figure out the parameters of the desired ellipse, but I do not see how to actually draw such an Edge Cut in KiCAD.

Is this possible in KiCAD, or am I using the wrong software for this? The board will be made on LPKF ProtoMat, so I'll be using CircuitPro software to create the final instructions for the plotter (don't know how that works yet).

So my questions is whether I should be thinking about design of the board shape in KiCAD, or leave it until a later step?

Thank you.

Best Answer

I think an example worth a million words, so I wanted to make a tutorial on this.

Here is the box I am going to create an outline for:

enter image description here

Here is an example PCB drawing from the datasheet of the box:

enter image description here

After opening up Pcbnew, select the layer for edges. In the current version of KiCad (BZR4008), it is called "Edge.Cuts". First, I am going to draw the upper and lower edges, which are 62 mm. Then the left and right edges, which are 32 mm. I am using the tool below which has a tooltip of "Add graphic line or polygon".

enter image description here

Now that everything is fine, I can draw the other shapes:

enter image description here

Here is the tool we are going to use for that:

enter image description here

This tool is basically a partial circle. To use it, click on the point which will be the center of your circle, then with the mouse, you will set the radius with a visual aid of the KiCad. A very helpful thing is to change the cursor so it shows full coordinates, with the button shown below:

enter image description here

enter image description here

Just for the sake of an example, let's make the edge facing outside:

enter image description here

You cannot make correct ellipses with this method, unfortunately. You have to use the graphic embedding, or the approximation methods for that, which were mentioned by Nick Alexeev.