230 Commits

Author SHA1 Message Date
Jeff Young
dedc10a163 The Include "Exclude from BOM" setting is for editing, not exporting.
There's no reason to put items marked "Exclude
from BOM" into the BOM.
2025-09-08 20:44:32 +01:00
Jeff Young
330361d0cb Fix typo. 2025-09-08 20:44:32 +01:00
Adam Wysocki
814f78f2b2 ADDED: Add pcb/sch upgrade cli command 2025-08-30 20:57:41 +00:00
Mark Roszko
9bc463606a More redundant LOCALE_IO 2025-08-27 20:11:26 -04:00
Jeff Young
2e629ca55c ADDED: follow-pcb and follow-plot-settings to render job settings.
Also added Follow-board-stackup-colors to both
render job settings and render CLI arguments

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21341
2025-08-05 18:01:50 +01:00
Mark Roszko
4b70e20250 Add support for check zones before plot to plot jobsets 2025-07-30 20:49:07 -04:00
Mark Roszko
b0b07bbc41 Add option to save the pcb during drc cli (but with refill-zones required in parallel) 2025-07-29 21:12:31 -04:00
Mark Roszko
dc6e0223c7 Add cli option for zone refill before drc
Note: Does not save yet
2025-07-24 20:40:45 -04:00
Graham Keeth
5d05c36d2e add missing STEP optimization arg to STEPZ export 2025-07-11 12:56:46 -07:00
Jeff Young
0464cc18b1 Progress reporting for Run Jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19629
2025-06-28 16:23:34 -06:00
Andrea Greco
8eff58a6dc PCB: Add option to cli and graphics to export stpz 2025-06-27 22:41:58 +01:00
Mark Roszko
ce545f4d6c ADDED: Ability to set a PDF background color for PCB plots
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20873
2025-06-19 19:34:31 -04:00
jean-pierre charras
ca9df9986a Make show hop over a configurable option 2025-06-15 16:55:18 +02:00
erhannis
4d739ea8e5 Minimal changes needed to build 2025-06-08 20:52:57 +01:00
Marek Roszko
2d327d9d73 Allow running jobsets in cli by description (and uuid)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20033
2025-06-06 19:02:47 -04:00
jean-pierre charras
0dd4e707cc try to fix a qa test (fast fix, not the better fix) 2025-05-18 15:39:19 +02:00
jean-pierre charras
0342524afc kicad-cli, gerber export, very minor fix: remove duplicate option
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20930
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20931
2025-05-18 13:49:47 +02:00
Jeff Young
c452fe9686 REMOVED: HPGL plotting.
Its sketch-mode greatly complicates the plotting
code and it is poorly maintained due to lack of
use.
2025-05-10 17:31:59 +01:00
Salvador E. Tropea
c519a6b827 Fix kicad-cli pcb export pdf --mode-multipage
So it generates one PDF instead of multiple PDFs
2025-05-06 22:50:18 +00:00
Salvador E. Tropea
1c07703851 Add "scale" option to "pcb export plotter" CLI and JOB
- Not for gerbers
- DXF, HPGL, PDF, PS and SVG
- Remove the GUI limitation that prevented the use of border & title when
  using a scale != 1
2025-05-06 16:32:53 +00:00
Salvador E. Tropea
c528f3c605 Add HPGL job support
- kicad-cli pcb export hpgl
- "Export HPGL" job
2025-04-28 23:05:45 +00:00
Salvador E. Tropea
dcddf16c30 Fixes default --track-width-correction (pcb export ps)
To match its intended type (double)
2025-04-28 16:59:48 +00:00
Salvador E. Tropea
d1de8649d8 [CLI][PCB][Postscript] Fix the DNP options 2025-04-28 16:57:49 +00:00
Salvador E. Tropea
a590d28c8e ADDED: Postscript job support 2025-04-23 13:41:00 +00:00
Wayne Stambaugh
f0f6b5a09b Use schematic editor default font setting for plot job.
When the user does not define a font on the CLI or when plotting from a
job set, use the current schematic editor default font setting rather than
always defaulting to the "KiCad Font".

Set the --default-font CLI setting to an empty string so the the schematic
editor default font setting will be used.  Setting the --default-font CLI
option will override the schematic editor default font setting.
2025-04-19 12:56:39 -04:00
Jeff Young
70cbdbff89 ADDED: appearance preset selection to Render Jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20682
2025-04-17 14:37:16 +01:00
jean-pierre charras
e6240f9fbf Fix kicad-cli pcb export gerbers --output argument type in help.
It is a directory name, not a filename

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20298
2025-04-17 11:26:27 +02:00
Jeff Young
6e566b2819 Remove shadowed type (DRILL_MARKS).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20522
2025-03-31 20:00:16 +01:00
Jeff Young
1333c4c305 Move layer arg parsing up so we can handle user-defined layer names.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18773
2025-03-16 17:28:44 +00:00
Jeff Young
e5bedd937c Formatting. 2025-03-12 10:21:59 +00:00
Jeff Young
9ac851b314 Fixes for CLI input and output directories.
Plot functions use an output directory.

Those functions that support an input directory also support
input files.
2025-03-10 20:11:39 +00:00
Jeff Young
52648497b2 Formatting. 2025-03-06 15:47:18 +00:00
Marek Roszko
4f4ece61bb Move the fp svg cli to more similar plot code 2025-03-04 23:01:00 -05:00
Jeff Young
9be7464681 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:39:19 +00:00
Marek Roszko
b6743653f3 Restore the page size mode behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20014
2025-03-03 23:15:32 -05:00
Jeff Young
3960480819 Fix SCH plot to PDF for jobsets.
(Fix for CLI bug #19522 broke it for jobsets.)
2025-03-03 21:38:14 +00:00
Jeff Young
d8cdb69831 Jobset Output -> Destination. 2025-03-03 18:34:33 +00:00
Jeff Young
b0eef3ee28 Persist some missing jobset arguments.
Also adds some missing CLI arguments.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20116
2025-03-02 19:27:15 +00:00
jean-pierre charras
b0fe4df3c5 More fixes about use of IN versus INCH 2025-03-02 13:59:25 +01:00
jean-pierre charras
eaa1e6d594 Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header
2025-03-02 11:34:30 +01:00
Jeff Young
307798ac92 Deprecate (instead of remove) --plot-invisible-text
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20171
2025-03-01 21:58:31 +00:00
Jeff Young
f951497a4f Code brevity. 2025-03-01 21:58:31 +00:00
Daniel Treffenstädt
3768221d9c ADDED: Support for IPC-4761 Via protection features
Fixes https://gitlab.com/kicad/code/kicad/-/work_items/18837
2025-03-01 18:02:54 +00:00
Jon Evans
52e86303c0 Fix export SVG mode logic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20089
2025-02-26 17:31:18 -05:00
Connor Goss
5a5759c41a Add IPC-D-356 Export to kicad-cli
ADDED: Added IPC-D-356 exporting to kicad-cli.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13951
2025-02-22 21:00:54 +00:00
Jeff Young
80e7698131 MOVED subtract-mask-from-silk to general section.
(Was Gerber-specific.)
2025-02-19 23:43:53 +00:00
Jeff Young
4fa02690f8 REMOVED force-plot-invisible-items.
It's dangerous as the router and DRC will have been
run without regard to invisible items.

(See #19420.)
2025-02-19 23:43:53 +00:00
Jeff Young
40daacbeeb IPC-2581 has a hyphen in it.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19770
2025-02-19 23:43:52 +00:00
Connor Goss
9aec923862 Set output filename in GenCad CLI job from the --output parameter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19968
2025-02-16 23:34:35 +00:00
Jon Evans
a1f0adcc11 CLI: Set correct flag for DXF plotter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19966
2025-02-15 17:22:00 -05:00