← Back to team overview

kicad-developers team mailing list archive

Re: [RFC PATCH] Rounded rectangle pads

 

Hello Clemens,

Clemens Koller writes:
> Hello, Mathias!
> 
> On 2016-01-12 21:29, Mathias Grimmberger wrote:
> > Clemens Koller <cko@xxxxxxxxx> writes:
> >> Can you rebase your patch, please?
> > 
> > Please find attached a patch done against rev 6455, I hope I put it all
> > together correctly, especially the DRC clearance stuff.
> > 
> > I also added the plot code for Gerber output.
> 
> Thanks a lot. It applies nicely now!
> 
> First feedback: It would be great to make the corner radius variable
> instead of fixing it to 25% of the shorter pad edge and <=0.25mm. [1]

That can certainly be done.

What do you think how it should work?

I imagine the following:

- optionally a radius can be given, <= 0 or not given means use default
as above (I need to check how the file format handles optional values)

- actual value used is clamped between 50% of shorter edge and some
small value (a radius of 1 or 2 internal units might cause nasty
numerical problems)

- in the pad properties dialog the input field is empty by default for
new pads

Would the possibility to alternatively give the radius as a percentage
of the shorter edge be useful? It would complicate things a bit though.


MGri


Follow ups

References