Mark Roszko
3ab23201b4
Add missing drill precision arg integer specifier
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16508
2024-01-04 02:31:23 +00:00
Alex Shvartzkop
5140fd7819
"kicad-cli pcb export drill": hook up --gerber-precision.
2023-12-04 21:59:26 +03:00
Ian McInerney
54c325a631
Fix broken cherry-pick in 4cb9edd9f0
2023-12-03 18:04:40 +00:00
Ian McInerney
4cb9edd9f0
Warn when installing PCM local package that is incompatible
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14243
(Cherry-picked from b2cc4b8310
)
2023-12-03 11:58:40 +00:00
Wayne Stambaugh
4bf75de6fd
Don't copy hidden files and folders when creating project from template.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16093
(cherry picked from commit a309e24132
)
2023-11-19 11:05:53 -05:00
Alex Shvartzkop
cb1a596b10
kicad manager: make extension change warning for Rename case-insensitive.
2023-10-29 22:01:50 +03:00
jean-pierre charras
c41cd75b62
kicad manager: fix broken Rename file command.
...
From master branch.
2023-10-29 18:38:32 +01:00
Ian McInerney
0df48f3002
PCM: Fix use of variable after it was moved into the cache
...
(cherry picked from commit c52fb23d4f
)
2023-10-29 13:40:08 +00:00
Marek Roszko
e6e29b6c4c
Unbind events in DIALOG_PCM destructor
...
Maybe fixes KICAD-KR
(cherry picked from commit b00871ad77
)
2023-10-02 00:20:46 +00:00
Adam Simpkins
5c5e41500a
kicad-cli: add option to control oval drill export behavior
...
Add an argument to "kicad-cli pcb export drill" to control the oval
holes drill mode for the excellon output format.
The Generate Drill Files GUI dialog recommends the newer "route"
behavior by default. Previously this option was not exposed in
kicad-cli. This commit does not change the default kicad-cli behavior,
but simply adds an argument to control it.
(cherry picked from commit 9b69d84688
)
2023-08-31 22:26:59 +00:00
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