Wishlist: typed-in units should support "cm".
NOTE: what follows is the original description. Current status is at the bottom of the comments.
Description
In FreeCAD, when one enters a dimension in a text box, there is a small icon on the right to open an expression/formula editor. One can there write 1.25 in, or 12 cm, or whatever unit, click ok, and the result is automatically converted to mm. It would be really nice to port this functionality to KiCAD. Now I think it only supports mil and in.
See also:
https://wiki.freecadweb.org/Expressions
https://github.com/FreeCAD/FreeCAD/blob/master/src/App/Expression.h
Steps to reproduce
- In PCBnew, click on a footprint on a PCB
- Add 1.25 inches to its current position
KiCad Version
Application: Pcbnew
Version: 5.1.6-c6e7f7d~86~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-106-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.5.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON
Edited by Jeff Young