Le 16/02/2016 11:59, Clemens Koller a écrit : > Hello! > > On 2016-02-16 09:30, Mikael Arguedas wrote: >> If you are implementing the ceiling function in a parent class, use 0.05 >> mm, because it will be not necessary used for sizes, but also for >> distances, and round the half size if needed. > > Ok, I might be nitpicking again: > Can we make that rounding value configurable? > I would call this minimum drafting design width/gap. > > With smaller and smaller SMD sizes, even 0.025mm is a quite > coarse grid/minimum width size. I ended up with 0.01mm. > I have already 0603M (0201) 0402M (01005) 03015M (008004) (M=metric) > sizes arriving in my calculations... @:-| > > Regards, > > Clemens
We are not talking about rounding width values, but the position of the courtyard corners definition in SMD ICs footprint generators. This is not exactly the same thing, and 0.05 rounding could be enough. About ceiling function, I forgot: the value to round can be negative. -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp