jean-pierre charras
f8be7e1f57
Gerber X2 format: Set default values to Enable X2 format
2020-03-29 15:37:36 +02:00
Ian McInerney
40ba502853
pcbnew: Clean up warnings with unit handling in the DXF export
...
(cherry picked from commit ff9d899ae0
)
2019-07-10 12:42:54 -04:00
Ian McInerney
44f1059000
Allow DXF to be exported in either inches or millimeters
...
Fixes: lp:1832188
* https://bugs.launchpad.net/kicad/+bug/1832188
(cherry picked from commit d5f680ecd2
)
2019-06-13 16:10:12 -07:00
jean-pierre charras
7f20c55ed6
Pcbnew, Plot dialog, Gerber format: Enable or disable adding net metadata both in X1 and X2 format. Previously, this option was existing only in X2 format. Should be existing in both formats.
...
A bit of cleaning code related to this option.
2018-12-09 08:38:23 +01:00
Seth Hillbrand
1828e8cb0f
pcbnew: Use Default width define instead of nums
...
The board design settings file keeps our default values for various
thicknesses. We use this to replace a number of magic numbers with the
defined value to help self-document the code.
2018-10-08 09:17:40 -07:00
jean-pierre charras
f634b75652
Pcbnew, plot parameters: fix an issue for the "outputdirectory" parameter.
...
When the outputdirectory string was similar to a number, the .kicad_pcb file was no longer loadable.
Fixes: lp:1777957
https://bugs.launchpad.net/kicad/+bug/1777957
2018-06-21 12:33:51 +02:00
jean-pierre charras
7db88126c5
hpgl plot parameters: use double instead of int to store the pen diameter to avoid truncation.
...
This parameter, always in mm in a hpgl file, is for historical reasons stored in mils,
and using a int to store it created annoying rounding errors.
2018-05-26 09:37:42 +02:00
jean-pierre charras
e499d337d8
rename files: update filenames in sources
2018-01-28 19:12:26 +01:00
jean-pierre charras
59e5d3b762
pcbnew: plot dialog: Add advanced X2 features and Create job file options incorrectly saved in .kicad_pcb files (always saved ON)
...
Fixes: lp:1733876
https://bugs.launchpad.net/kicad/+bug/1733876
2017-11-22 20:27:33 +01:00
jean-pierre charras
bdc6a5950b
rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions.
2017-11-16 15:53:30 +01:00
José Ignacio Romero
73c88bd0fe
Add more layers in default layers selection plot parameter.
2017-10-25 08:07:42 +02:00
jean-pierre charras
50164e9968
Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled
...
Fix also very minor issues in Gerbview
2017-08-30 11:04:33 +02:00
jean-pierre charras
816307e500
Pcbnew plot: fix a few minor issues:
...
- SVG export: fix color of PCB texts.
- Avoid marking board as modified after plotting layers, when options not saved in board are modified.
2017-07-31 20:05:32 +02:00
jean-pierre charras
557e69f72a
Fix many minor issues in dialog plot and plot DXF options.
2017-07-31 20:05:32 +02:00
Kristoffer Ödmark
19d5cc7548
Removed all exception specifiers since deprecated.
...
Exception specifiers are deprecated in cpp11, so went through them all
and removed them from the code.
2017-06-12 13:54:55 -04:00
Eldar Khayrullin
0af5695e51
Pcbnew: add option to plot DXF lines in outline mode.
...
Add option to plot dialog to plot DXF layers *.Cu, *.Adhes, *.Paste, and
*.Mask in outline mode or line mode.
Fixes lp:1643330
https://bugs.launchpad.net/kicad/+bug/1643330
2017-04-25 08:24:55 -04:00
jean-pierre charras
6edee2ae1d
Prepare Plot Gerber file to include advanced aperture and net attributes.
...
This option is not yet activated because the net attributes are not yet fully fixed by Ucamco, in Gerber file format specifications.
(To activate it, see dialog_plot.cpp, line 43)
2016-09-19 13:01:36 +02:00
jean-pierre charras
2284228c35
HPGL plot dialog: remove no more in use Pen Overlap parameter. Fix incorrect polygon fill by setting the hpgl pen thickness in hpgl file. Add filled circle (previously, a circle was never filled)
2016-02-11 13:14:46 +01:00
unknown
0ae5fed41f
When changing the number of copper layers, new layers added to the board in pcbnew are now selected by default for plotting
2015-12-08 16:15:24 +01:00
unknown
ad10218a58
Rename {Set,Get}GerberExtensions() to {Set,Get}GerberProtelExtensions() (better name) in public API.
2015-10-21 08:55:30 +02:00
jean-pierre charras
b1cd42cf08
Pcbnew: simplify draw code in default canvas and plot functions by removing the plot LINE option, which is not existing in all plotters, not existing in opengl/cairo canvas, and not usefull in default canvas.
2015-02-02 09:06:39 +01:00
jean-pierre charras
0e996cac9e
Pcbnew: fix Bug #1395594 (pcbplotparams parser sensitive to formatting)
...
Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.
2014-12-04 20:15:26 +01:00
jean-pierre charras
82339a9235
Fix bug #1358742 (drill map file output faulty), which was Gerber format specific.
...
Minor code change (which removes a SWIG warning)
2014-10-13 10:40:34 +02:00
jean-pierre charras
9a7116d4ab
Update old demo board files. Minor code cleaning.
2014-07-04 21:36:43 +02:00
jean-pierre charras
f71418ace9
Pcbnew: fix read .kicad_pcb file error when an outdated plot parameter is found. Now outdated plot parameters are just ignored
2014-07-04 17:54:14 +02:00
jean-pierre charras
ab58dbfced
Pcbnew: Rework on Gerber ouput: allows choice between format 4.5 and 4.6. Fix a minor issue in Gerber layers attributes.
...
fix print issue when printing each layer on a separate page.
2014-07-04 16:22:38 +02:00
Dick Hollenbeck
e460b4a524
fix export_gencad.cpp
2014-06-30 10:03:20 -05:00
Dick Hollenbeck
1e7495e634
merge
2014-06-30 00:46:18 -05:00
Dick Hollenbeck
4578ea8b9e
1) Add 32 Cu Layers.
...
2) Change from legacy Cu stack to counting down from top=(F_Cu or 0).
The old Cu stack required knowing the count of Cu layers to make
sense of the layer number when converting to many exported file types.
The new Cu stack is more commonly used, although ours still gives
B_Cu a fixed number.
3) Introduce class LSET and enum LAYER_ID.
4) Change *.kicad_pcb file format version to 4 from 3.
5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their
meanings are typically flipped.
6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they
can die a quiet death, and switch to enum LAYER_ID symbols throughout.
7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions.
You will need to convert to the format immediately, *.kicad_pcb and
*.kicad_mod (=pretty) since legacy format was never going to know
about 32 Cu layers and additional technical layers and the reversed Cu
stack.
2014-06-24 11:17:18 -05:00
unknown
1a47508832
Gerber X2 patch (Support for the "file function" attribute) from Thiadmer Riemersma, committed in rev 4948: minor fix for better compatibility with older versions of Pcbnew
2014-06-19 09:12:48 +02:00
jean-pierre charras
9ee8dac056
Pcbnew, python console: make it not dockable (workaround to avoid the fact accelerator keys which are used in the main menu are not sent to the console, in docked mode).
...
Minor cosmetic enhancement.
2014-06-19 08:26:53 +02:00
jean-pierre charras
cfa67aa218
Pcbnew: plot dialog: remove obscure and useless option about texts which are not value or reference.
...
cosmetic enhancement in dialog.
page layout: fix bug Bug #1320839 (canvas refresh countinously called when moving an item)
2014-05-19 20:24:07 +02:00
Dick Hollenbeck
7cf3467851
Show the "Description" field from fp-lib-table in pcbnew's module editor 'set current library' dialog.
2013-11-18 10:04:23 -06:00
jean-pierre charras
2554575656
More work on CPOLYGONS_LIST class.
...
Pcbnew: fix minor bug about plot line width.
2013-05-09 21:08:12 +02:00
jean-pierre charras
6fcd9eb8a6
Eechema: fix bug : when saving the schematic project, the lib cache was saved under the current sheet opened, not the root sheet.
...
Pcbnew: clamp default plot line width between 0.02 and 2 mm. the other bug (saving this parameter in internal units instead of mm is not fixed)
2013-05-07 20:32:06 +02:00
Lorenzo Marcantonio
63e987edd0
Removed the default generation of phantom text by the postscript plot driver.
...
It crashes Adobe's own implementation of postscript!
2013-04-05 10:55:46 +02:00
Dick Hollenbeck
5155c35a71
reverse throw() clauses to quiet SWIG errors
2012-11-27 13:57:38 -06:00
jean-pierre charras
703293fa30
Add a min width parameter to plot solder mask layers.
2012-11-05 21:20:34 +01:00
jean-pierre charras
2d49ced742
Pcbnew: fix compil warning and a minor bug in plot negative (frame fer plotted in white therefore not visible).
...
minor code cleaning
2012-09-24 18:03:03 +02:00
jean-pierre charras
cc47e88b9e
Pcbnew, plot functions: fix bug in SVG plotter, fix a minor other bug when using PS plotter (trcak width fine adjust not working)
...
and plot code cleaning continued
2012-09-24 08:39:59 +02:00
jean-pierre charras
a9744e3f84
Pcbnew: added: SVG plotter. Need refinements, but works.
...
Mainly to plot drill maps, but can be used to plot boards, for documentation.
The print svg still exists, but the plot SVG has more options (mirroring, holes in pads),
however print svg allows color print, and full board printing, and plot does not.
2012-09-15 14:13:03 +02:00
Lorenzo Marcantonio
ba6da604cc
Refactored PCB plot infrastructure
...
Removed filename from the BASE_SCREEN class
Scripting support for board plot
2012-08-30 21:25:12 +02:00
Lorenzo Marcantonio
137066e53c
Fully encapsulated with accessors PCB_PLOT_PARAMS
2012-08-30 20:06:13 +02:00
Lorenzo Marcantonio
7cef5395b3
Minor plot driver enhancements
2012-08-29 22:13:47 +02:00
Lorenzo Marcantonio
fef8347176
Script plotting patch
2012-08-29 18:59:50 +02:00
Wayne Stambaugh
3b2be428f4
Pcbnew s-expression file parser bug fixes.
...
* Change save order of drawings to match legacy file format object order.
* Set end point of SEGVIA to start point so the round trip back to legacy
format is the same.
* Fixed bug saving and loading oval pad drill parameters.
* Fixed bug saving and loading rectangular pad deltas.
* Fixed missing layer for PCB_TARGET.
* Fixed EDA_TEXT italic bug. Thanks Dick!
* Remove some left over debug logging statements.
2012-06-13 19:04:42 -04:00
Dick Hollenbeck
a71857baaa
Commit Dick's Pcbnew s-expression file parser bug fixes.
...
* Apply Dick's patch along with a few minor changes to fix some clashes with
changes in my branch. Thanks Dick!
* Added missing DRAWSEGMENT line angle.
* Fix thru hole pad layer mask issue.
2012-06-10 20:47:15 -04:00
jean-pierre charras
de471744cd
Fix some minor bugs in plot functions
2012-06-09 11:38:58 +02:00
jean-pierre charras
61acac28e1
Add patch from Lorenzo Marcantonio. Fix some warning issues, and zlib issue under Windows (zlib sources added)
2012-05-03 20:37:56 +02:00
Dick Hollenbeck
f8490ff4af
Remove g_PcbPlotOptions, use wxformbuilder to subclass DIALOG_SHIM on several dialogs
2012-04-05 13:27:56 -05:00