24 Commits

Author SHA1 Message Date
Jeff Young
a9adc64f3e Move layer arg parsing up so we can handle user-defined layer names.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18773

(cherry picked from commit 1333c4c305400cd63d4d789d9317c4d9f77feb55)
2025-03-29 21:24:31 +00:00
Jeff Young
0d9daa372e Keep user-defined common layers order.
(And use it when plotting.)

(And don't shadow it with a second variable.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20214
2025-03-04 23:37:02 +00:00
Jeff Young
97b0e6d403 Persist some missing jobset arguments.
Also adds some missing CLI arguments.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20116

(cherry picked from commit b0eef3ee289fc90cc7e79d0a2b31698b40ab13dc)
2025-03-02 19:28:01 +00:00
Jeff Young
89226575c6 Deprecate (instead of remove) --plot-invisible-text
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20171

(cherry picked from commit 307798ac9278fde062c31639e6f1baaa37ebf003)
2025-03-02 19:27:52 +00:00
Jeff Young
7cc2b47d2e REMOVED force-plot-invisible-items.
It's dangerous as the router and DRC will have been
run without regard to invisible items.

(See #19420.)

(cherry picked from commit 4fa02690f820a4ca3517dfe5344b4da48a078f0e)
2025-02-20 13:37:22 +00:00
Marek Roszko
5c3004b96e Avoid altering the configured output path during run in case of empty paths 2025-01-14 20:44:51 -05:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Marek Roszko
ea4aa6e277 ADd plot-invisible-text arg for cli plots
Part of https://gitlab.com/kicad/code/kicad/-/issues/13957
2025-01-01 13:53:47 -05:00
Marek Roszko
33183ad795 Expand pdf plot job to normal pdf plot behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19352
2024-12-31 10:55:09 -05:00
Marek Roszko
06542d5576 Add deprecation notice on "gerber" cli job 2024-12-31 07:43:48 -05:00
Marek Roszko
0f70c7747c Save drill/place origin for plot jobs for pdf/SVG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19401
2024-12-28 18:49:16 -05:00
Marek Roszko
be728f7800 Remove aIsCli which never ended being used 2024-11-04 20:51:15 -05:00
Marek Roszko
d74caace0a Initial jobset creation and running within the CLI and GUI.
Incomplete, just pushing this before feature freeze, much fixing left
2024-09-30 20:04:53 -04:00
Marek Roszko
675e126eae Use the new flag() shorthand for arg setup 2024-01-03 21:39:54 -05:00
Alex Shvartzkop
ec06d5e475 Revert "CLI: set default Gerber precision to 4.5 mm."
This reverts commit 754a6dcd0a93bde5be2934ce1eb0eb39f1b16058.
2023-12-05 15:33:55 +03:00
Alex Shvartzkop
754a6dcd0a CLI: set default Gerber precision to 4.5 mm.
Many fabs still don't work correctly with 4.6 mm precision Gerbers.
2023-12-04 09:52:31 +03:00
Graham Keeth
8149522c34 CLI help string fixups 2023-09-15 23:07:19 +00:00
Marek Roszko
270c195df9 Sprinkle metavars into cli descriptions 2023-08-31 22:04:25 -04:00
Marek Roszko
f357e79f77 Add --define-var / -D to the cli opts for some commands
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15437
2023-08-31 21:46:37 -04:00
Marek Roszko
b542539546 Add --drawing-sheet arg for various cli commands for overriding the project sheet
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15438
2023-08-31 19:53:23 -04:00
Marek Roszko
df0c220f2b Some small reorg of the cli class base 2023-08-31 18:56:17 -04:00
Mark Roszko
3035bbd1d1 Add back some cli descriptions 2023-08-22 13:29:02 +00:00
Marek Roszko
c20cc24400 Rename export classes to match the scheme 2023-08-19 11:51:50 -04:00
Marek Roszko
32f0f05a98 Rename the export cli files to the cleaner structure 2023-08-19 11:46:18 -04:00