Re: [Kicad-developers] Converting KiCAD to metric units: The approach

2011-06-24 Thread Dick Hollenbeck
On 06/23/2011 02:21 PM, Vladimir Uryvaev wrote: В сообщении от Четверг 23 июня 2011 18:47:02 автор Dick Hollenbeck написал: Vladimir, please show us an example where your class causes the compiler to catch a problem that would be un-detected without it. I don't see it *yet*, and like Lorenzo,

Re: [Kicad-developers] Converting KiCAD to metric units: The approach

2011-06-24 Thread Lorenzo Marcantonio
On Fri, 24 Jun 2011, Dick Hollenbeck wrote: First better soultion is to make this function take second parameter unit2internal(what, unit_from); // use it like x = (x_in_mm,millimeter) internal2unit(what, unit_to); Most of kicad does this today! look out for ReturnStringFromValue and

Re: [Kicad-developers] Converting KiCAD to metric units: The approach

2011-06-24 Thread Karl Schmidt
On 06/24/2011 10:01 AM, Dick Hollenbeck wrote: On 06/23/2011 12:38 PM, Karl Schmidt wrote: On 06/23/2011 09:29 AM, Dick Hollenbeck wrote: Where? What context are you talking about? I think we need to store board and footprint files in both imperial and metric both. Not that this is in

Re: [Kicad-developers] Converting KiCAD to metric units: The approach

2011-06-24 Thread Dick Hollenbeck
I do not ever see a need to keepmore than one unit supproted. Where? What context are you talking about? I think we need to store board and footprint files in both imperial and metric both. Why both? Save it in internal units and present them to the user in the unit (s)he want... store,

Re: [Kicad-developers] Converting KiCAD to metric units: The approach

2011-06-24 Thread Dick Hollenbeck
As a non-US resident I'd have some comments about the readability of decimils :D Personally I could even keep the decimils if it wasn't for the DRC issues; simply switching from decimils to a smaller unit give a fast solution and solves the problem. Am I the only one that sees value in