Jeff Young
5e6ef67fce
Plot drill marks on mask layers if the pad exists there.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20859
6 months ago
Jeff Young
34139ae305
Push generalised sketch-mode support down into DXF_PLOTTER.
6 months ago
Jeff Young
c452fe9686
REMOVED: HPGL plotting.
Its sketch-mode greatly complicates the plotting
code and it is poorly maintained due to lack of
use.
6 months ago
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
7 months ago
Salvador E. Tropea
c528f3c605
Add HPGL job support
- kicad-cli pcb export hpgl
- "Export HPGL" job
7 months ago
Salvador E. Tropea
a590d28c8e
ADDED: Postscript job support
7 months ago
Jeff Young
6e566b2819
Remove shadowed type (DRILL_MARKS).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20522
8 months ago
Jeff Young
d3f57fac5a
Must assign extension to keep from stripping last '.' section.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20065
8 months ago
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
9 months ago
Marek Roszko
b6743653f3
Restore the page size mode behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20014
9 months ago
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
9 months ago
Jeff Young
f951497a4f
Code brevity.
9 months ago
Jeff Young
80e7698131
MOVED subtract-mask-from-silk to general section.
(Was Gerber-specific.)
9 months ago
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.)
10 months ago
Jeff Young
f724dab4b2
Fix build.
10 months ago
Jon Evans
8a7bf78b38
Fix color theme load logic in jobs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19754
10 months ago
jean-pierre charras
b2ef81808b
Pcbnew, DIALOG_PLOT: store B&W/Color option for PDF and SVG formats
Previously, the dialog started withB&W option.
10 months ago
Marek Roszko
e7bb7592a2
Kill the MRU in pcb plot when jobing
10 months ago
Marek Roszko
5c3004b96e
Avoid altering the configured output path during run in case of empty paths
10 months ago
Marek Roszko
4cfd6f71e5
Fix plot job paths not saving
10 months ago
Marek Roszko
afe7c893d5
Squash dxf job path for single/multi like svg
10 months ago
Marek Roszko
ecfc868832
Combine/move svg plot job to single path
10 months ago
Ian McInerney
3add0afdff
Restore current index counter in plot dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19454
11 months ago
jean-pierre charras
7f114d737e
Fix missing switch to "C" locale before plotting board files.
11 months ago
Jeff Young
ad513345fe
Ugh. Once more into the breach to try and get our terminology consistent.
11 months ago
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
11 months ago
Jeff Young
c5ae32c51c
Auto-edit job properties and then description after creation.
11 months ago
Jeff Young
d7eed69831
Job-specific option dialog titles.
11 months ago
Jeff Young
f4ec6d2eaa
Fix layout issues when plot dialog opened from job.
Also removes Open Directory button as in a job the filepath
will be relative to whichever Output it is placed in.
Also removes the Run DRC button when called from a job.
11 months ago
Marek Roszko
8f750baa79
Deprecate and support using the more normal "plot" logic for dxf and svg.
11 months ago
Marek Roszko
cad0e3fc27
Lets move the chunk of plot logic from dialog_plot and share it with the jobs handler
More factoring in V10. This is just because it's getting annoying really lol
11 months ago
Marek Roszko
d6bf87bcaa
Add flag to pdf jobs created by gui needed for processing correctly. Fix enum naming
11 months ago
Marek Roszko
33183ad795
Expand pdf plot job to normal pdf plot behavior
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19352
11 months ago
Marek Roszko
17a1706257
ADDED: "Single document" PDF plot option for PCB plots
11 months ago
Marek Roszko
bd202a5fdc
Ensure more settings are saved for plotting
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19401
11 months ago
Marek Roszko
0f70c7747c
Save drill/place origin for plot jobs for pdf/SVG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19401
11 months ago
Marek Roszko
197c01aa48
Save drill shape for pdf/svg jobs
Partial fix https://gitlab.com/kicad/code/kicad/-/issues/19401
11 months ago
Marek Roszko
92404b33f0
Save 2 additional params for plotting jobs
11 months ago
Marek Roszko
af8f25875b
Get the pcb plot dialog hooked up to jobs editing
11 months ago
Jeff Young
753d385473
Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
11 months ago
IkomaSo
f5765bac7f
Added a button to open output directory in plot dialog
Shows a bitmap button next to the output location string, allowing the user to quickly view the generated file location
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17659
1 year ago
Marek Roszko
d74caace0a
Initial jobset creation and running within the CLI and GUI.
Incomplete, just pushing this before feature freeze, much fixing left
1 year ago
Seth Hillbrand
5e0abadb23
Reorganize layer numbering
F_Cu = 0
B_Cu = 2
Remaining internal copper layers are even and incrementing
Non-copper layers are odd and incrementing.
This means that we can no longer do things like:
for( PCB_LAYER_ID layer = F_Cu; layer <= B_Cu; ++layer)
Instead, we have the class LAYER_RANGE:
for( PCB_LAYER_ID layer : LAYER_RANGE( F_Cu, B_Cu) )
Similarly, gt/lt tests should not refer to the integer value of the
layer. We have functions such as IsCopperLayer to test whether a layer
is copper or not.
When using the connectivity RTree, the third dimension is layer, so we
provide B_Cu with the special INT_MAX value, ensuring that elements
between F_Cu and B_Cu will be identified. There is a new, special
function GetBoardLayer() for interfacing with CN_ITEMS
Similarly, PNS layers remain unchanged and sequential. A set of
interface functions is provided to map PNS layers to Board layers and
back. This allows the PNS_LAYER_RANGE to function as expected
1 year ago
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
1 year ago
Seth Hillbrand
e0453d9bcc
Further cleanup of LSET
Remove duplicative functions. Standardize on C++ stdlib formatting
1 year ago
Seth Hillbrand
293075426b
Clean up some LSEQ functions
We are derived from std::vector now. We don't need our own prima donna
increment and dereference overload as these just create bloat and
non-standard coding practices
1 year ago
Jon Evans
4aab9f59aa
ADDED: Support tenting control of individual vias
REMOVED: Tenting option from plot dialog (tenting is now
controlled from Board Setup and via properties)
See https://gitlab.com/kicad/code/kicad/-/issues/2402
1 year ago
Jeff Young
11b72c294b
ADDED: expose plot-pad-numbers in plot dialog.
1 year ago
Alex Shvartzkop
1971faa81e
Fix very tall Plot dialog on GTK.
Some scrollable controls need wxFIXED_MINSIZE, on some platforms, apparently.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16926
8.0 commit: f9a9db6503
2 years ago
Jeff Young
3e0c598500
Honour LAYER, SHEETNAME and SHEETPATH variable overrides on CLI.
Also allows the LAYER variable to work automatically
if you're plotting/exporting a single layer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17680
2 years ago