Commit Graph

343 Commits

Author SHA1 Message Date
aris-kimi 759069f487 Fix unit conversion
ohm/1000feet
2022-07-27 15:11:33 +00:00
aris-kimi 086ebe0f1d Add conductor material selection to cable calculator
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12082
2022-07-27 15:11:33 +00:00
jean-pierre charras 4d48376eae Fix some warnings detected by PVS-STUDIO (not used vars) 2022-07-26 16:00:14 +02:00
jean-pierre charras d4ed387eb1 Pcb_calculator, PANEL_CABLE_SIZE: fix 2 incorrect displayed values.
Voltage drop and Dissipated power units are mV and mW, but the displayed
values were Volt and Watt.
2022-07-25 09:54:54 +02:00
jean-pierre charras 493b42588a Pcb_calculator, PANEL_CABLE_SIZE: fix some issues created by non initialized vars. 2022-07-25 08:58:31 +02:00
luz paz 79fa911e0e Fix various typos
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
2022-07-21 16:31:41 +00:00
jean-pierre charras fed2049df5 pcb_calculator: fix a cosmetic issue in PANEL_WAVELENGTH.
Fixes #12020
https://gitlab.com/kicad/code/kicad/issues/12020
2022-07-20 08:43:06 +02:00
Marek Roszko 33c89667fe Emplace the cable size list 2022-07-16 15:26:58 -04:00
Seth Hillbrand 56895db84c Fix missing overrides 2022-07-06 16:05:32 -07:00
Marek Roszko 1e4d0aa1c0 Add missing header for MSVC due to 81108ed106 2022-07-06 18:04:43 -04:00
Fabien Corona 81108ed106 ADDED: pcb_calculator: wavelength panel 2022-07-06 18:28:59 +00:00
Ian McInerney b51d8c9825 Introduce new CMake variable to store kiface install location 2022-06-22 23:40:25 +01:00
jean-pierre charras ef2d0c6438 pcb_calculator/calculator_panels/panel_cable_size: avoid a too large size.
Replace a wxGridSizer by a wxFlexGridSize to avoid too large column sizes
when not needed.
2022-06-22 21:03:07 +02:00
Seth Hillbrand d34e896708 Fix missing overrides 2022-06-21 16:43:15 -07:00
Fabien Corona 33d3618738 ADDED: PCB calculator fusing current
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9297
2022-06-21 23:34:36 +00:00
Fabien Corona 69f25f35a8 ADDED: pcb_calculator cable size
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9298
2022-06-16 22:04:45 +00:00
jean-pierre charras 285d1f4fae pcb_calculator: change a string to facilitate a translation. 2022-06-03 18:48:01 +02:00
Marek Roszko 1bf361e216 Rename the pcb calculator window to match the title in kicad launcher 2022-05-07 15:36:49 -04:00
jean-pierre charras ca8b96f247 pcb_calculator: expand treebook at start to show the full list of pages. 2022-03-20 10:00:34 +01:00
Marek Roszko b69f179560 Just spell out Transmission Lines fully in the calculator 2022-02-20 21:31:54 -05:00
Seth Hillbrand 098e8f7d9b Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option"
This reverts commit ea9f960cc1.

Reverted for updates as this currently breaks kicad-mac-builder
2022-01-31 15:57:56 -08:00
Davide Gerhard ea9f960cc1 cmake: adding KICAD_MACOSX_APP_BUNDLE option
ADDED: with cmake KICAD_MACOSX_APP_BUNDLE option the user can disable
the macOS app bundle creation when compiling on macOS. This permit to
use/install KiCad like any other *nix platform (/usr/bin, /usr/share,
ecc.). By default, cmake build the app bundle.
2022-01-28 15:49:37 -08:00
Fabien Corona 8282130bbe PCB_calculator: use treebook 2022-01-27 20:54:57 +00:00
Jeff Young e21fa31f64 Rip out rest of macHack architecture. 2022-01-03 22:09:56 +00:00
jean-pierre charras 0e801c9be9 fix missing line breaks in .md file 2021-12-31 10:38:50 +01:00
jean-pierre charras 96c3ce14e4 Fix not displayed html char (&sdot replaced by &middot) (perhaps Windows specific)
Fixes #10152
https://gitlab.com/kicad/code/kicad/issues/10152
2021-12-29 08:52:56 +01:00
Marek Roszko 3f711b8958 Add win32 VERSION_INFO resource blocks for the DLLs 2021-12-28 23:54:27 -05:00
Jeff Young c3552a940a Make sure standard OK/Cancel buttons respond to current language.
Fixes https://gitlab.com/kicad/code/kicad/issues/9635
2021-12-24 18:13:11 +00:00
Seth Hillbrand 428970eb13 PCB_Calculator: Fix coupled microstrip diff Z
bffff6c1bf was well-meaning but mistook Zodd for Zsingle.  2*Zodd is the
appropriate value for differential impedance
2021-11-07 17:07:50 -08:00
jean-pierre charras e558f2cabd Fix typo 2021-11-04 18:20:30 +01:00
J RB f3ca0f16e6 updated Z0 to accepted value, update ZTEM10 <-> a calc/synth as per #9146 2021-11-03 21:03:28 +00:00
jean-pierre charras 4fe9f01eb0 Update a few demos 2021-11-01 18:36:53 +01:00
Mikolaj Wielgus a3707ad365 Minor editorial changes to PCB calculator, part 2
Don't use substripts in HTML  if there is just a number in the
subscript: "R1", not "R<sub>1</sub>", except for characteristic
impedance. And of course still use "Z<sub>in</sub>", not "Zin".

This is also consistent with the images.
2021-11-01 00:09:46 +00:00
jean-pierre charras 0f93999e14 fix a very minor issue in units.h but it does not change anything in current code
(this code is not in use currently)
Fixes #9492
https://gitlab.com/kicad/code/kicad/issues/9492
2021-10-30 10:06:28 +02:00
jean-pierre charras 908e892ab8 Fix issues in translatable strings in .md files:
- replace "&sdot;" not displayed on Windows (for some reason) by "&middot"
- replace the double space at end of lines by the tag <br>
A translatable string cannot ends by 2 spaces, because they are not really visible
2021-10-23 17:52:58 +02:00
Mikolaj Wielgus 2fa9aefde2 Minor editorial changes in PCB calculator, part 1 2021-10-23 13:56:07 +00:00
jean-pierre charras 62ddc269ca update eserie_help.md (source of eserie_help.h) from changes in eserie_help.h 2021-10-23 15:00:16 +02:00
Jeff Young febfe39cc4 Improve e-series help text.
Fixes https://gitlab.com/kicad/code/kicad/issues/9349
2021-10-22 22:47:12 +01:00
jean-pierre charras 84e83fc743 pcb_calculator, eserie rework and add E24 serie.
Numerous enhancements in code.
2021-10-15 11:16:27 +02:00
Ian McInerney 8a11e89d0f Fix the type-based pcb_calculator GetCalculator implementation
ix the problem with the original template-based implementation to limit
the amount of things that could be forgotten by new panel creators
(since we can't just have a static fail method warning about things
beinf forgotten).

This reverts commit a92516bcd2.
2021-10-12 13:37:11 +01:00
Ian McInerney 708050aa55 pcb_calculator: Some code cleaning 2021-10-10 16:26:23 +01:00
Ian McInerney bd0fb5ca89 pcb_calculator: Update bitmaps on color code panel when theme changes
They aren't actually different between light and dark currently, but
this brings it inline with all other bitmaps.
2021-10-10 16:26:23 +01:00
jean-pierre charras a92516bcd2 Pcb_calculator: fix not working GetCalculator() template.
Use now wxWidgets functions to find a calculator panel.
Fixes #9358
https://gitlab.com/kicad/code/kicad/issues/9358
2021-10-10 14:16:11 +02:00
jean-pierre charras 2662433374 Pcb calculator panels: ensure sizer are correctly updated.
On wxWidgets 3.0, SetSizeHints must be called once the panel is fully populated.
On wxWidgets 3.1.5, SetSizeHints is not mandatory but can be called to ensure
right sizes once the panel is fully populated.
2021-10-09 09:07:18 +02:00
Ian McInerney 288a94f5aa pcb_calculator: Remove form builder main window
The form builder window only contained the notebook control, so it was
basically pointless. This removes the base frame and instead makes
PCB_CALCULATOR_FRAME inherit directly from KIWAY_PLAYER.
2021-10-08 18:28:10 +01:00
Ian McInerney 0a1a181798 pcb_calculator: Move calculator panels to a registration architecture
This simplifies operations that touch every panel and is a bit neater.
2021-10-08 18:13:41 +01:00
Ian McInerney c14bdf7fe0 pcb_calculator: Update panel images/text when system theme changes 2021-10-08 17:31:21 +01:00
Ian McInerney 1f4955a632 Reorganize the pcb_calculator directory to make it more logical 2021-10-08 15:44:44 +01:00
Ian McInerney 79a1eff988 pcb_calculaotr: Change attenuators to only have image name instead of the image
Otherwise regenerating the bitmap for light/dark changes would be more
difficult.
2021-10-08 15:28:09 +01:00
Mikolaj Wielgus faad5ee1ce Use system text and background colors in PCB calculator
wxHtmlWindow forces white background and black text. Force it back to
system settings.
2021-10-07 19:09:42 +00:00