Jon Evans
0b136ae0df
CLI: Allow controlling layer order for multilayer plots
2023-10-11 00:18:58 +00:00
Marek Roszko
5759823ca0
Move JOB_EXPORT_SCH_PLOT to kicommon horribly pending further refactor of plotting
2023-10-02 20:48:26 -04:00
Jon Evans
26f2dbf524
CLI: Allow multiple define args
2023-09-28 16:57:41 -04:00
Mike Williams
9541e45502
BOM Exporter: allow using presets from the command line
2023-09-20 10:57:43 -04:00
Graham Keeth
5dc62368b0
CLI: parameterize whether export job inputs are directories or files
2023-09-19 01:47:41 +00:00
Graham Keeth
8149522c34
CLI help string fixups
2023-09-15 23:07:19 +00:00
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
...
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2023-09-09 00:10:57 -04:00
jean-pierre charras
cbcaaa001c
fix some Coverity and compil warnings.
2023-09-05 20:30:08 +02:00
Marek Roszko
fb8d52f19e
kicad-cli: Remove -O for plot and add --pages to specify list of pages instead
...
--pages 1 is equivalent to -O
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15402
2023-09-03 09:18:11 -04:00
Marek Roszko
aa0df6aaa4
Fill in more descriptions
2023-08-31 22:17:14 -04:00
Marek Roszko
ab92d2891e
Split the define var message across two lines
2023-08-31 22:09:52 -04: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
f869e3fb87
Fix stray arg input/output in 3d export
2023-08-31 19:04:05 -04:00
Marek Roszko
df0c220f2b
Some small reorg of the cli class base
2023-08-31 18:56:17 -04:00
Adam Simpkins
9b69d84688
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.
2023-08-31 13:57:05 -07:00
Marek Roszko
d193334a10
Add vrml export to cli
...
Roughcut as the vrml exporter needs some loving
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15472
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13952
2023-08-24 20:39:21 -04:00
Mark Roszko
5136ec07cf
Add more cli command descriptions
2023-08-22 13:42:16 +00:00
Mark Roszko
3035bbd1d1
Add back some cli descriptions
2023-08-22 13:29:02 +00:00
Marek Roszko
b52b05ebbb
Add zone export to step export
...
Mileage may vary on performance, decent enough for my board.
Warning, freecad chokes on boards with zones, but commerical tools are fine
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15234
2023-08-20 22:11:45 -04:00
Marek Roszko
50ac5db8d2
Add binary GLTF export option to kicad-cli
...
Not by any means finished
2023-08-19 16:47:42 -04:00
Marek Roszko
5870b4f373
Mini-refactor step to a generic "3d" cli option (step command still exists for now)
2023-08-19 16:47:41 -04: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
Marek Roszko
5d001d4858
ADDED: ERC over cli....mostly
2023-08-13 20:31:19 -04:00
Marek Roszko
14a0fa435c
ADDED: DRC JSON report
2023-08-13 14:59:10 -04:00
Marek Roszko
812143ac69
ADDED: Run PCB DRC via cli
2023-08-10 20:20:40 -04:00
jean-pierre charras
f18feb2a46
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.
2023-08-05 18:18:18 +02:00
Seth Hillbrand
c38ed7044a
ADDED: DNP flag for position file export
...
Adds ability to exclude footprints with DNP flag from position files in
dialog and cli
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15353
2023-08-04 11:02:54 -07:00
Mike Williams
25e391719e
Fields Table: convert special strings like Quantity to named variables
...
Before, we did not actually prevent users from adding a field also named
Quantity to their symbols. This of course does not play nicely with the
assumptions that Quantity is a special column in the fields editor.
By making it a named variable, the user can safely add it to a symbol
and it will not be editable, and will also work in the fields table
editor as expected.
2023-08-01 10:55:32 -04:00
Mike Williams
7d9f791518
kicad-cli: sch bom export: fix inability to disable grouping
...
Just set --group-by default to "" (No default grouping), and drop the
additional --group option. Also fix the exclude DNP option.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15246
2023-07-23 13:59:28 -04:00
Mike Williams
265720ec65
BOM Export: add DNP to Group By * defaults
...
Closer to the BOM export scripts we are trying to replace, and gives the
user a clue that fields with variables names are way to export other
data.
2023-07-12 12:16:14 -04:00
Wayne Stambaugh
285f8a0e59
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.
(cherry picked from commit 4e79d1ecdd
)
2023-06-16 07:17:39 -04:00
Alex
2450435131
Support --mirror option in "kicad-cli pcb export pdf"
2023-06-10 04:54:11 +03:00
jean-pierre charras
9c1fac3e21
kicad-cli, STEP export: fix incorrect unit when user origin is specifed.
...
They are specified in mm (inches) , but must be stored in board units in code.
2023-06-09 12:42:26 +02:00
Nils VAN ZUIJLEN
518741c52a
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-07 13:28:52 +00:00
Mike Williams
33b2b5b09d
STEP Export: Update options to reflect DNP and Unspecified filtering
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14125
2023-04-13 10:33:03 -04:00
Mike Williams
9c3d93eb34
BOM Generator: wire up forced exclusion, optional DNP exclusion
2023-04-03 09:07:52 -04:00
Mike Williams
79a829395d
BOM Generator: minor bug fixes and string changes
2023-04-03 09:07:52 -04:00
Mike Williams
753ae21fd4
BOM Generator: wire up to kicad-cli
2023-04-03 09:07:52 -04:00
jean-pierre charras
e1d47dfac4
fix typo
2023-03-30 13:48:37 +02:00
jean-pierre charras
cd90887e06
kicad-cli, layer names: allows using both names used in GUI and in board files
...
Fixes #14455
https://gitlab.com/kicad/code/kicad/issues/14455
2023-03-30 13:21:18 +02:00
jean-pierre charras
e0d983e0d8
kicad-cli, export drill files: re-add -u as short option for --excellon-units.
...
Was removed by my previous commit b6f5e3d
2023-03-30 10:47:13 +02:00
jean-pierre charras
b6f5e3df2b
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)
Fixes #14454
https://gitlab.com/kicad/code/kicad/issues/14454
2023-03-30 09:41:45 +02:00
Salvador E. Tropea
7e3f1b1a00
Adds the missing plot formats to `kicad-cli sch export`
2023-03-22 02:14:50 +00:00
David Holdeman
79fbde0894
Add option to use drill/place file origin for kicad-cli gerber export
2023-03-21 12:18:14 +00:00
jean-pierre charras
f569cffa8e
Step exporter fixes and enhancements:
...
- fix duplicate code and a few bugs (some are due to changes in code over the years)
- ADDED: option to export tracks and vias on external layers Exporting tracks is *very* time consuming,
and need a bit of optimization.
2023-03-05 12:55:15 +01:00
Marek Roszko
9b708ce6d1
Fix copypasta typo in export pos
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13991
2023-02-19 00:24:05 -05:00
aris-kimi
dca1281263
Fix some typos
2023-02-14 23:47:05 +02:00