I’m using the PCB editor right now, and I would like to draw the outline of the board.
I can draw it with the line and curve tools in the image below.
Problem: the rectangle, circle and polygon tools don’t work.
Am I missing something?
Ideally a rounded rectangle would be great.
Sorry guys, I found the trick: I was clicking a point and dragging the mouse. The right way to do it
is: click & release first point, move to second point (diagonal), click & release second point.
Just in case it helps somebody else.
That said, I would appreciate a “corner radius” option in the shape info panel. Maybe in a later
version?
Draw one 90° arc and duplicate 4 times then use R for rotate.
Yes, I know there are workarounds to do this, but crating 4 round corners doesn’t give
you a cornered rectangle. Or does it? I mean, without linking all the corners by hand with
straight lines, whiich is basically what I’m doing.
What I would like to have:
Select the rectangle tool
Point the 2 corners
Once laid, select “E” (edit the object), and in a “corner radius [ entry_field ] mm”,
keying in the radius I want would automatically make the rounded rectangle. Cherry on top
of the cake: when you want to resize the whole board, you have to change 1 of the corners
instead of editing 4 circles and 4 lines by hand.
Peter Dalmaris taught me a trick, but using the straight line tool. Draw the rectangle using the line tool. Select one of the lines using R-L sweep, then shorten using the handles. Draw a quarter circle using the arc tool. Repeat for the other corners.
It works a treat when the edges and arc centres are on the grid.
But feel free to put in a Gitlab feature suggestion.
With the R-L sweep, choose a line, then shorten it using the handles. Using the line tool, draw the rectangle. Use the arc tool to draw a quarter circle. Same with the other corners.
Thanks for your replies. To come back to what I wrote above:
So again, yes, there are many ways to do this, I already do it but thanks for the suggestion. Now for what I was asking and in order to be crystal clear, here is a small sequence I have copied from Freecad.
There are alternatives. I have a CNC software that draws directly a square cornered rectangle,
and when choosing the rectangle object, a property box allows to specify a corner radius which is
0 by default. Type a value and you’re done.
I just asked how to do that, and the short reply is that it’s not possible other than drawing or copying any of its components.
Yes, but for very simple shapes implemented on Kicad, that would be a plus. Maybe it’s just me,
but I design all my pcbs without any exception with a rounded rectangle shape. It’s very
handy when designing a box around it. Otherwise if you use a plain rectangle pcb, you have to
cut a more complicated box with mickey mouse ears at every corner.
I’m comfortable with Freecad when designing mechanical parts, boxes etc…
But what I’m asking (dreaming of) is a way to directly have a tiny extra functionality that draws
rounded rectangles. I have the impression it would be faster to write my own utility with PHP.
That should be a matter of half a day. Or maybe try to do it in Python.
So do I, I don’t like being poked by PCB corners when handling. But it takes me 5 minutes max to add rounded corners the way I described, when I might spend days obsessing over the design, so I regard this as a less urgent need.