Seth Hillbrand
|
ba5ad70b68
|
Add default rotation format
|
2024-05-06 10:00:19 -07:00 |
Seth Hillbrand
|
fc93c63a19
|
Revert "Remove trailing zeros from all values"
This reverts commit abd0388794 .
|
2024-04-23 11:08:14 -07:00 |
Seth Hillbrand
|
abd0388794
|
Remove trailing zeros from all values
If we are showing a value to the end user, we should avoid unneeded
precision
|
2024-04-18 18:21:13 -07:00 |
Seth Hillbrand
|
d8b6e28890
|
Excise the remaining unused ifdef EESCHEMA
Common units are now shared between programs, so we need a different way
other than compile definitions to choose how many digits to display.
|
2024-04-18 18:21:13 -07:00 |
Alex Shvartzkop
|
bd59fb7768
|
Fix spelling mistake.
|
2024-03-23 21:43:30 +03:00 |
Alex Shvartzkop
|
93581607a8
|
Don't print unnecessary digits after decimal point for imperial units.
1 nm = 0.00003937 mils = 0.00000003937 inches,
So there's no reason to print more decimal places than 5 for mils and 8 for inches.
Related: https://gitlab.com/kicad/code/kicad/-/issues/15539
|
2024-03-23 21:19:04 +03:00 |
Jeff Young
|
c051e66830
|
Handle units switch in board stackup.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16361
|
2023-12-24 16:18:46 +00:00 |
jean-pierre charras
|
4a5859cc45
|
Fix compil warnings.
|
2023-11-26 14:26:09 +01:00 |
Johannes Pfister
|
4177b64c27
|
Add micrometre and centimetre units
|
2023-11-16 23:24:52 +00:00 |
Jeff Young
|
2c02c26af4
|
Centralize min/opt/max printing.
|
2023-10-15 22:46:23 +01:00 |
Jeff Young
|
5793abd310
|
Fix build on MacOS.
|
2023-10-09 15:22:41 +01:00 |
Alex Shvartzkop
|
471bfb1131
|
Add EDA_UNIT_UTILS::ParseInternalUnits
|
2023-10-08 02:41:17 +00:00 |
Jeff Young
|
f2c2017068
|
Formatting. No (intentional) functional changes.
|
2023-06-10 13:36:17 +01:00 |
Johannes Pfister
|
a87550a2c6
|
When importing legacy PCB dimension: Use automatic dimension when Unit couldn't be determined
|
2023-02-28 11:59:47 +00:00 |
Marek Roszko
|
aacc9746e3
|
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
|
2023-02-18 22:57:18 -05:00 |
Marek Roszko
|
b2421c7d9f
|
Fix tiny bug in double 2 string formatting
- I forgot to handle the trailing dots when I added the fmt variant
- UIDouble2Str (the original) lacked the comma check
- Add unit test lol
|
2023-01-21 13:54:52 -05:00 |
Marek Roszko
|
1edf84d756
|
More wxS ugh
|
2023-01-17 07:43:04 -05:00 |
Jeff Young
|
b52106aa37
|
Formatting and commenting.
|
2022-10-06 13:19:08 +01:00 |
Jeff Young
|
45d6b4a9fc
|
Readability improvements.
|
2022-09-19 11:18:20 +01:00 |
Marek Roszko
|
63295cfb9e
|
Remove unused vars
|
2022-09-18 08:49:07 -04:00 |
Marek Roszko
|
ece23d434b
|
Split up Double2Str to a format function to make its use case clear
|
2022-09-17 00:10:22 -04:00 |
Marek Roszko
|
59a9ddac20
|
Convert the primary file io formatter for doubles
|
2022-09-16 23:20:15 -04:00 |
Marek Roszko
|
3d5913c825
|
Remove convert_to_biu.h, merge contents to base_units.h
|
2022-09-16 21:09:28 -04:00 |
Mark Roszko
|
b00178adb3
|
Nuke base_units from orbit
|
2022-09-16 04:38:10 +00:00 |
Marek Roszko
|
a8a75a91e1
|
Try and fix file encoding
|
2022-08-29 20:57:14 -04:00 |
Marek Roszko
|
03aa63bd50
|
Move 5 helpers to EDA_UNIT_UTILS since they aren't iu specific
|
2022-08-29 20:11:03 -04:00 |
Marek Roszko
|
e928b2d8fd
|
Split EDA_UNITS out from common.
|
2020-10-25 00:02:52 -04:00 |