7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 09:19:17 +00:00
Commit Graph

192 Commits

Author SHA1 Message Date
Andrea Greco
ee255fb389 ADDED: Default font option to cli schematic plot exports 2025-01-04 16:51:09 +00:00
Jeff Young
ad513345fe Ugh. Once more into the breach to try and get our terminology consistent. 2025-01-04 15:41:05 +00:00
Marek Roszko
154634b1f6 Remove dynamic portions of execute/copyfiles description 2025-01-04 10:06:26 -05:00
Marek Roszko
afd2406adc Fix erc/drc output paths in cli
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19474
2025-01-04 08:10:20 -05:00
Marek Roszko
2ee3ee341a Fix sch plot output path handling
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19483
2025-01-04 08:10:20 -05:00
Alex Shvartzkop
9cac8725fa Fix build error. 2025-01-04 11:30:33 +05:00
Alex Shvartzkop
1be6ecd972 Fix --background option in kicad-cli pcb render. 2025-01-04 11:21:45 +05:00
Jeff Young
25d794b405 Read old job output specs with no ids. 2025-01-03 13:32:07 +00:00
Jeff Young
9ed3c8eb82 Naming consistency for jobs. 2025-01-02 13:20:31 +00:00
Marek Roszko
6aa25093da Add missing files from last commit 2025-01-02 06:48:28 -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
5864d705c3 Partially fix running special execute
It was a early implementation that got forgotten about hah
2025-01-01 15:10:35 -05:00
Jeff Young
c5ae32c51c Auto-edit job properties and then description after creation. 2025-01-01 19:17:11 +00:00
Jeff Young
530a66a489 More job-specific option dialog titles. 2025-01-01 19:17:07 +00:00
Marek Roszko
72acbe1de4 Add missing options dialog title
https://gitlab.com/kicad/code/kicad/-/issues/19452
2025-01-01 14:04:33 -05:00
Jeff Young
d7eed69831 Job-specific option dialog titles. 2025-01-01 16:33:57 +00:00
Marek Roszko
6c43c25b4c Move two things to kicommon 2025-01-01 00:14:34 -05:00
Marek Roszko
8f750baa79 Deprecate and support using the more normal "plot" logic for dxf and svg. 2024-12-31 23:10:24 -05:00
Marek Roszko
768a9c89aa Dont forget the gen mode param 2024-12-31 11:37:17 -05:00
Marek Roszko
8988dd11ab Fix json enum declaration 2024-12-31 11:16:48 -05:00
Marek Roszko
d6bf87bcaa Add flag to pdf jobs created by gui needed for processing correctly. Fix enum naming 2024-12-31 11:00:19 -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
Mark Roszko
4d9bd6ef27 Revert "Cleanup output handler"
This reverts commit 906c2f3d49
2024-12-31 01:37:39 +00:00
Ian McInerney
906c2f3d49 Cleanup output handler 2024-12-31 00:18:10 +00:00
Marek Roszko
bd202a5fdc Ensure more settings are saved for plotting
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19401
2024-12-29 13:31:56 -05:00
Eric Zhuang
b3259a1c42 ODB++:Support choice compress format and specify output filename. 2024-12-29 17:01:27 +00:00
Marek Roszko
ddf157c36c Add descriptions for jobsets 2024-12-29 07:16:46 -05:00
Marek Roszko
2d43480af3 Remove the pythonbom job registration 2024-12-28 21:31:58 -05:00
Marek Roszko
09c8cfedd3 Add ability to set custom user descriptions on jobs 2024-12-28 21:28:42 -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
197c01aa48 Save drill shape for pdf/svg jobs
Partial fix https://gitlab.com/kicad/code/kicad/-/issues/19401
2024-12-28 18:49:16 -05:00
Marek Roszko
d8779a6c98 Add initial dialog for pcb render job 2024-12-28 14:16:28 -05:00
Marek Roszko
eeb77103c9 Don't forget to save format to file for 3d jobs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19402
2024-12-28 12:12:32 -05:00
Jon Evans
e7e2007acd Fix macOS build after 42b204fc
clang requires the explicit template keyword in this scenario
2024-12-28 08:14:48 -05:00
Marek Roszko
42b204fc74 Hookup the bom dialog to job
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19368
2024-12-27 23:00:08 -05:00
Marek Roszko
9636934631 Don't delete directory for folder output, just merge
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19379
2024-12-27 12:06:42 -05:00
Marek Roszko
9dd0d67845 Add a job config dialog for ERC/DRC
Also make the default names for drc/erc unique with a suffix break.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19355
2024-12-27 11:35:09 -05:00
Marek Roszko
92404b33f0 Save 2 additional params for plotting jobs 2024-12-26 13:18:04 -05:00
Marek Roszko
f0408f0814 Allow empty path targets to just return the temp dir for jobset output 2024-12-25 10:05:07 -05:00
Marek Roszko
d9d927e80c Allow substitution for job output paths
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19357
2024-12-24 11:44:51 -05:00
Marek Roszko
ea1e14b292 Add missing include 2024-12-23 23:07:08 -05:00
Marek Roszko
62ec7e2d6d Add the ability to capture job reporting and display it in the result window 2024-12-23 23:05:37 -05:00
Alex Shvartzkop
1b28ee51dc IPC-2581: Improve dialog layout; Limit precision to 4-10 digits.
To represent KiCad's internal units (1 nm), it's enough to have:
- 6 decimal digits in mm;
- 8 decimal digits in inches.

There's not much point in reducing the precision.
Up to 10 digits allowed just in case.
Also changes precision to 6 decimal digits by default.
2024-12-22 20:19:54 +03:00
Marek Roszko
dcd80ee925 Pass pointer and not copy of struct to avoid job output crash 2024-12-20 22:41:12 -05:00
Marek Roszko
b01892943b Fix setting up the ouput type handler instance 2024-12-20 19:36:32 -05:00
Alex Shvartzkop
418c8592aa Allow to control via hole cutting in board body/copper.
- "Fill all vias" option disables the cut in copper layers which is
  important to speed up EM simulations.
- "Cut vias in board body" enables cutting even if copper layer export
  is disabled, which is useful if you're using vias as mounting holes.

Related: https://gitlab.com/kicad/code/kicad/-/issues/18735
2024-12-20 23:28:46 +03:00
Marek Roszko
1b05e77fb2 Ensure output path is not empty before trying archive and folder runs 2024-12-18 07:33:36 -05:00
Marek Roszko
4d827a6f20 Overwrite existing fodler for a folder type job output, and add a output precheck for later use 2024-12-18 07:22:11 -05:00
Marek Roszko
cd6d43ee58 Add a simple status for output run 2024-12-17 10:08:47 -05:00
Marek Roszko
af8f25875b Get the pcb plot dialog hooked up to jobs editing 2024-12-09 07:17:38 -05:00
Jon Evans
f504a07556 ODB++: Add to CLI and jobs system 2024-12-02 10:53:01 -05:00
Marek Roszko
752797dade Use a shared_ptr in the jobset 2024-11-09 22:50:04 -05:00
Marek Roszko
258bf8ad82 Add separate desc entries for plot jobs 2024-11-07 20:50:43 -05:00
Marek Roszko
be728f7800 Remove aIsCli which never ended being used 2024-11-04 20:51:15 -05:00
Alex Shvartzkop
3b987776c7 ADDED: STL and PLY (since OCCT 7.7.0) 3D model export. 2024-11-04 16:15:02 +03:00
Marek Roszko
bb43a5047e Add execute job config dialog 2024-10-22 22:29:24 -04:00
Marek Roszko
92f82e5173 Add command executor to jobset 2024-10-19 06:56:31 -04:00
FPiorski
7df0879a44 ADDED: Clickable links on hierarchical sheets, sheet pins and hierarchical labels in PDF exports of schematics.
By default, the new links get generated instead of popup menus for those elements. Can be turned off in the plot dialog or from the cli.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18900
2024-10-18 19:35:02 +00:00
Marek Roszko
e61d1c771d Add context menu to jobset list items 2024-10-03 08:03:25 -04:00
Marek Roszko
7abc0b9839 Implement job up/down arrangement 2024-10-02 22:55:02 -04:00
jean-pierre charras
56b50e1600 Fix compil warnings and minor Coverity warnings (uninitialized variables). 2024-10-02 09:33:54 +02:00
JamesJCode
73bcda4633 Fix build on MacOS 14 2024-10-01 19:37:40 +01:00
Marek Roszko
d1d71f75d6 Fix typo in jobset.h 2024-10-01 06:55:28 -04: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
jean-pierre charras
3534546ef7 fix compil warnings 2024-09-17 09:37:23 +02:00
Julie Vairai
06eb7fa588 Added GenCad export within kicad-cli
Available options:

 "--flip-bottom-pads"
 "--unique-pins"
 "--unique-footprints"
 "--use-drill-origin"
 "--store-origin-coord"
2024-09-16 22:31:52 +00:00
Jeff Young
01332a2cb5 ADDED: plotting options for DNP footprints
Also removes the plot-fp-refs, plot-fp-values and
plot fp-text overrides from the GUI, but leaves
them as job arguments.

(Note that the job arguments also separate out
sketching DNP graphics and plotting the 'X', which
the GUI does not.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18056
2024-08-18 10:02:14 -06:00
Marek Roszko
eb10d478f2 Fix build conflict with new jobs system 2024-08-17 17:29:45 -04:00
Jon Evans
7349d79096 ADDED: Component filter for STEP export
Also refactor to avoid duplication of settings

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18290
2024-08-03 21:56:48 -04:00
Jeff Young
bfecb7891c ADDED: --use-drill-origin arg to export DXF. 2024-07-09 17:41:34 +01:00
Seth Hillbrand
cc850d0da0 Split out LSEQ/LSET from LAYER_ID
Separate the layer grouping classes for easier modification
2024-07-08 20:59:46 -07:00
Jeff Young
b88d3b13ac ADDED: sketch-pads-on-fab-layers to CLI PDF & SVG export.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18091
2024-05-27 20:59:11 +01:00
Alex Shvartzkop
b89d4a7f20 3D model export improvements:
- Option to export pads separately from tracks+vias
- Options export silkscreen and soldermask as flat faces
- Improve 3D model export dialog layout
- Use VisMaterialTool to specify metallic-roughness for glTF.
- Less OCCT boolean operations (faster, less bugs)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/2072
2024-05-25 22:27:01 +03:00
Alex Shvartzkop
1ae9e9b676 ADDED: XAO export for SALOME / Gmsh workflows.
Pad surfaces are assigned as face groups.
2024-04-26 01:53:43 +03:00
Alex Shvartzkop
5f81e01f43 ADDED: --net-filter option to STEP/BREP export CLI. 2024-04-24 18:28:53 +03:00
Alex Shvartzkop
c68e3ceb44 ADDED: Export inner PCB copper layers to STEP / BREP / GLTF.
Also adds options to exclude board body and components.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16855
2024-04-22 03:39:46 +03:00
Alex Shvartzkop
cd2925d3d7 ADDED: Fuse Shapes option for STEP/BREP/GLTF export.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17777
2024-04-19 03:43:26 +03:00
Alex Shvartzkop
d98d7f9017 ADDED: Support 3D shape export in BREP format.
BREP doesn't support colors or label names,
but is much faster to write/read compared to STEP.
2024-04-17 17:31:10 +03:00
Mike Williams
ea904c9fb1 Symbol Fields Table: configurable excluded from BOM filtering
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17747
2024-04-15 13:08:04 -04:00
Ethan Chien
0a89236f19 CLI: Add allegro and pads netlist output format options 2024-03-26 19:58:22 +08:00
Jeff Young
e30b6398b7 ADDED: optional PDF metadata from AUTHOR and SUBJECT variables.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17289
2024-03-14 17:40:04 +00:00
Alex Shvartzkop
f6f0b9a661 ADDED: PCB 3D image raytracing rendering from CLI.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/3691
2024-03-08 14:38:18 +00:00
Jeff Young
7cc663ad77 Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
Marek Roszko
c8d24b7613 Add missing IPC2581 cli support 2024-01-30 20:42:34 -05:00
Marek Roszko
991703ceee Add missing default init 2024-01-26 07:23:28 -05:00
Marek Roszko
465ccaef90 Add missing schematic parity drc test to cli 2024-01-25 22:14:49 -05:00
Alex Shvartzkop
8dfad68d69 ADDED: option to optimize exported STEP files (disable pcurves) 2023-11-19 15:23:17 +03:00
Alex Shvartzkop
c95ed281b8 Update STEP export strings/comments. 2023-11-09 20:06:21 +03:00
Jeff Young
3e4d5d776d Add --exclude-pdf-property-popups to schematic plotting CLI. 2023-10-22 12:33:55 +01:00
Jon Evans
0b136ae0df CLI: Allow controlling layer order for multilayer plots 2023-10-11 00:18:58 +00:00
Jeff Young
89f444c38b Fix missing include. 2023-10-03 13:32:00 +01: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
Mike Williams
9541e45502 BOM Exporter: allow using presets from the command line 2023-09-20 10:57:43 -04:00
Jeff Young
ef92429ac2 Implement changed notifiers for textvar, netclasses and severities.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15440
2023-09-17 17:35:15 +01:00
Marek Roszko
2de38f8d75 Force jobs to be instantiated in kicommon
This is important since these get passed between modules at runtime
2023-09-16 21:02:33 -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
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
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