Design rules in inches not mm [SOLVED]

Can you change the measurement in the Board Set Up Design Rules from mm to inches?
I have inches selected in PCBnew
The preferences tab unit is set to inches
but the design rules tabs all display in mm
Im guessing/hoping Im missing something right in front of my face.

Thanks


Application: Pcbnew
Version: (5.1.10)-1, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.73.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.71.0
Compiler: GCC 10.2.0 with C++ ABI 1014

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

Disregard, I notice now that the values change depending on the unit set in preferences but the label does not change in the design rules setting - That should really be fixed, what an enormous waste of time trying to figure that one out hahaha…

KiCad works internally in 32 bit integers with nanometers.

For me, changing the way units are displayed works instantly by clicking on the in and mm buttons on the left.

First setting it to in and then opening the board setup, and all units are displayed in mils (which are 1/1000 of an inch).

Welcome @bdg

PCB new / preferences / preferences then PCB new, units

Ah, so there it is.

I was searching for that “Preferences” thing, but had not found it. It is the same function though as those red encircled buttons in the toolbar on the left.

So in order to set the design rules to OSHParks specs for example:
OSHPark wants Solder Mask Clearance to 0.0508mm, (0.002in).

If my units are set to Inches
I would put 2 in the Solder mask clearance field?

Correct…2 mils, or .0508mm.

Note the label change: mils or mm

Sure did, Thanks so much!!
Gotta admit - I kinda feel like an idiot now - it is pretty basic - not sure what was throwing me…

Perhaps being a new, unfamiliar programme? :slightly_smiling_face:

Anyway, if you want it to keep one primary units but need the other one to set up something, you can just write e.g. 0.2mm or 10mil. It’s converted automatically.

2 Likes

It’s not your fault.
Even the americans switched to metric some 60 years or so ago, but when they did so they made displaying units in metric units “optional”.

And because of that there are billions of Euro’s / Dollars / whatever of damages with no place to declare. Vehicles have crashed on Mars because a parachute opened at the wrong eight because of this. An ordered hot air balloon was 2.54 times bigger in all dimensions then expected and many thousands of sofware packages are trying to manage those different units in some kind of way.

Mechanical equipment from China / Taiwan etc you never know what sort of nuts and bolts it uses. It’s a real nuisance.

You’re also not to blame because the way it is handled in KiCad is not very common. It’s one of those things you can only see with perfect 20/20 hindsight.

I was lucky… sort of.
In Australia conversion from Imperial to Metric took place over about ten years, the 10 years before I entered university, so I was forced to learn, at school, both systems simultaneously and convert from one to the other all the time. This was before pocket calculators so everything was done with pen and paper.

All that tiresome repetition meant both systems seriously stuck in my brain… for a lifetime! :crazy_face:

Just finished designing all the print components for this project in openscad so those [unitless]measurements and converting for my print software combined with last nights double cannon ipa’s - yeah not the time to learn kicad :+1:but all good now - so far I like the program…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.