jean-pierre charras
691931f74d
kicad-cli, export plot PDF and SVG: add missing option --drill-shape-opt.
...
It allows pad/via holes to ber plotted at actual size, small size, or not.
This option exists in GUI, but was missing in kicad-cli.
(cherry picked from commit f18feb2a46
)
2023-08-19 10:56:32 -04:00
Marek Roszko
27a0bd2535
Backport changes to merge distance for step export
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14910
2023-08-16 22:12:55 -04:00
Marek Roszko
d73f96e3d8
Add support for enum based policies
...
(cherry picked from commit b0fa2561b6
)
2023-07-14 00:04:31 +00:00
Seth Hillbrand
361fdcce1b
Maintain file permissions when renaming
...
Temporary and autosave files do not neccessarily have the correct
permissions set to replace existing project files. This updates the
permissions to match the existing values where possible
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13574
(cherry picked from commit 48ecd742eb
)
2023-06-18 01:06:14 +02:00
Wayne Stambaugh
4e79d1ecdd
Command line PCB gerber export fix and improvement.
...
The --board-plot-params argument was never parsed so it was always ignored.
[ADDED] A '--no-protel-ext' option to allow plotting gerbers with the KiCad
file extension (gbr) instead of the Protel gerber file extensions.
2023-06-16 07:14:37 -04:00
Salvador E. Tropea
561441b48a
Adds the missing plot formats to `kicad-cli sch export`
2023-06-11 13:56:24 -04:00
Nils VAN ZUIJLEN
c919694f37
cli: add an option to the pcb exports for plotting negative svg and pdf
...
ADDED: The -n or --negative option for exporting negative svg or pdf plots
from kicad-cli. Example usage: kicad-cli pcb export svg -n -l B.Cu board.kicad_pcb
2023-06-10 14:50:27 -04:00
Jeff Young
3c4286c98b
Force re-word-wrapping of PCM package descriptions on Mac.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13328
(cherry picked from commit c7730eae3f
)
2023-06-10 10:57:14 +01:00
Alex
13820bc002
Support --mirror option in "kicad-cli pcb export pdf"
...
(cherry picked from commit 2450435131
)
2023-06-10 04:58:07 +03:00
jean-pierre charras
b57d77dd0b
kicad-cli, STEP export: fix incorrect unit when user origin is specifed.
...
They are specified in mm (or inches), but must be stored in board units in code.
From master branch
2023-06-09 13:43:12 +02:00
David Holdeman
7aa368c2c5
use same flag, fix inversion
2023-06-06 18:20:24 +00:00
David Holdeman
6a00eaa4a3
naively add option
2023-06-06 18:20:24 +00:00
Marek Roszko
8f565ef7f0
Replace the exception handler in another spot
2023-05-28 22:31:29 -04:00
Marek Roszko
d97de297af
Move 3 more blocks to the common ex handler
2023-05-28 22:31:18 -04:00
Jon Evans
6eb96851f9
Don't try to open files multiple times
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14703
(cherry picked from commit 09e8f72196
)
2023-05-10 16:09:32 +00:00
jean-pierre charras
0d744a4e74
kicad-cli, layer names: allows using both names used in GUI and in board files
...
From master branch
Fixes #14455
https://gitlab.com/kicad/code/kicad/issues/14455
2023-03-30 13:50:09 +02:00
jean-pierre charras
216ec60dc1
kicad-cli, export drill files: fix duplicate options and fix some others:
...
- remove --separate-files duplicate option
- change --units to --excellon-units (valid only for Excellon) and default to mm
- Gerber resolution: 5 -> 6 (default must be always the higher resolution)
From Master
Fixes #14454
https://gitlab.com/kicad/code/kicad/issues/14454
2023-03-30 10:35:46 +02:00
Marek Roszko
434161687e
Fix cli crash due to dialogs buried in the pcb parser...
...
Fixes sentry KICAD-Q2
(cherry picked from commit 8a8589b9db
)
2023-03-24 23:53:15 +00:00
Alex
ba7598d90d
Fix clashing error dialogs when can't load dynamic library.
...
(cherry picked from commit 672c468342
)
2023-03-21 09:57:46 +00:00
Simon Richter
279641df73
Avoid "suggest parentheses around assignment used as truth value"
2023-03-10 23:09:41 +01:00
qu1ck
90eb5e9c31
PCM: auto reload global libs after dialog is run
...
This adds Reset() method to KIFACE to reload global libs stored in
global static vars.
Also refactors some lib reload code in various frames to have
common MAIL_RELOAD_LIB handler.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12500
(cherry picked from commit 2975f53647
)
2023-02-28 16:48:28 -05:00
Marek Roszko
85544d109c
Don't destroy the DIALOG_PCM_PROGRESS until after the threads actually terminated
...
(cherry picked from commit 47cf26f047
)
2023-02-26 22:47:14 +00:00
Alex
59b68154e1
Reduce some flickering in PCM.
...
(cherry picked from commit b592017495
)
2023-02-26 08:34:49 +00:00
jean-pierre charras
5a501c8e48
kicad manager, OnOpenFileInTextEditor(): do not quote the filename.
...
It will be quoted later.
Fixes #14086
https://gitlab.com/kicad/code/kicad/issues/14086
2023-02-26 08:36:58 +01:00
Marek Roszko
14381ac68a
Catch parsing exceptions of the local repository.json
...
Fixes KICAD-B9
(cherry picked from commit 6029fae30b
)
2023-02-21 12:15:09 +00:00
Marek Roszko
187947e8d8
Fix crash deleting project tree items
...
Fixes sentry KICAD-C2
(cherry picked from commit 7d25b6de87
)
2023-02-19 15:12:07 +00:00
Marek Roszko
0ea8299fa7
Fix copypasta typo in export pos
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13991
(cherry picked from commit 9b708ce6d1
)
2023-02-19 05:24:36 +00:00
Mark Roszko
2c8b1a50b0
Add extra dash to the long short args
2023-02-08 13:55:20 +00:00
jean-pierre charras
a493a2c822
kicad-cli, pcbnew pàlot: honor the color options when ploting pdf files
...
--black-and-white and -t were shown in help, but not handled
Fixes #13805
https://gitlab.com/kicad/code/kicad/issues/13805
2023-02-07 20:20:45 +01:00
Marek Roszko
4d811ba975
Enable layer arg for fp export svg
2023-01-27 23:45:42 -05:00
Jon Evans
d25b96d72d
Squash warnings
2023-01-25 18:01:16 -05:00
qu1ck
7ec2989d30
PCM: progress dialog stay should on top, disable other windows
2023-01-25 22:44:35 +00:00
Jon Evans
bd977fffa8
PCM: Make the progress dialog non-modal on other platforms
2023-01-25 13:59:32 -05:00
Jon Evans
9954c18244
PCM: Make the progress dialog modal
...
I don't know if this was intended to operate modeless, but it doesn't work
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13474
2023-01-25 12:32:13 -05:00
Marek Roszko
bc65f3b515
Lazily fix the output arg string for sch svg export
...
Big brain, just use the string with the colon in it. Sue me.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13647
2023-01-24 23:36:38 -05:00
qu1ck
d9e1763484
PCM: keep pinned state on update
2023-01-24 00:01:51 +00:00
Seth Hillbrand
a9ed47f06c
Update KICAD6->KICAD7
2023-01-23 22:21:12 +00:00
Mark Roszko
26c6760662
Remove new strings
2023-01-17 17:55:48 +00:00
Marek Roszko
ac94995f70
Some more wxS
2023-01-16 19:07:50 -05:00
Marek Roszko
ba6c23da00
Add help note for the gerber vs gerbers, and make "pos" obvious
...
Will add more strings in v8 I guess to avoid too many sneaky string additions :P
2023-01-14 14:33:38 -05:00
Seth Hillbrand
a5e6f11682
Fix crash when closing non-modal
2023-01-12 13:21:22 -08:00
Seth Hillbrand
fa91d906d0
Fix event blocker on GTK
...
We block events when a modal window is active. But detecting when the
modal window is closed is harder on GTK than just counting modal closes
because the modal flag can sometimes be unset before the wxEVT_SHOW
event fires. Instead, we track the stack of modal windows opened and
close the window and subsequent windows when the object pointer matches
Fixes https://gitlab.com/kicad/code/kicad/issues/13372
2023-01-12 11:53:00 -08:00
Jeff Young
30c9deb9d5
Flat(er) look for paged dialogs.
2023-01-11 01:11:25 +00:00
Marek Roszko
4dad07eef6
Fix typo
2023-01-09 07:03:48 -05:00
Marek Roszko
684941e4b6
Flip the include/exclude of refdes and value in cli
2023-01-08 22:53:08 -05:00
Marek Roszko
9f71e9af03
Add arg to plot hidden symbol pins in cli
2023-01-08 22:39:38 -05:00
Wayne Stambaugh
f28ea5e784
Remove standard dialog button static line separators.
...
For the sake of consistency across all dialogs and window that behave
like dialogs, remove the static line that separates the main part of
the dialog from the standard buttons. This only applies to windows
that have the standard button on the bottom of the frame.
This covers the 3D viewer, CvPcb, common, GerbView and KiCad dialogs.
2023-01-08 13:15:33 -05:00
Marek Roszko
c3a214983d
Fix the --version redirection
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13379
2023-01-04 21:39:37 -05:00
Marek Roszko
0c717ec4f2
Add trailing newline to version prints
2023-01-04 21:31:52 -05:00
qu1ck
50582232ea
PCM: fix url detection in pkg description
2023-01-04 21:17:38 +00:00