Jeff Young
b52529521e
Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE).
Also moves to more capable FILL_T model that can be shared.
4 years ago
Jeff Young
9b9e379aa0
Overhaul arc internal model to not over-specify information.
4 years ago
jean-pierre charras
83d7c731d3
Pcbnew, plot poly in footprint: fix a bug introduced by my commit 3316f3
Polys in footprints were not moved, rotated to the right place.
4 years ago
jean-pierre charras
3316f3998a
Rename BuildPolyPointsList() to DupPolyPointsList() and optimize code
to avoid multiple useless copies of the list of polygon corners in code.
4 years ago
Jeff Young
e6ca9837a2
Clear numbers from non-numberable pads and don't run DRC on them.
This was also the last straw on the misnamed PAD::GetName() and
PAD::SetName(), which are now PAD::GetNumber() and PAD::SetNumber().
Fixes https://gitlab.com/kicad/code/kicad/issues/9017
4 years ago
Wayne Stambaugh
46b959c3e3
Move plotter headers into include folder.
4 years ago
Wayne Stambaugh
6427197962
Remove duplicate headers in plot and associated code.
4 years ago
Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
4 years ago
Jeff Young
f221220fe2
Rename layer ids file.
It hasn't had anything to do with colors or visibility for some time
now.
4 years ago
Wayne Stambaugh
78e5e98ea0
Pass VECTOR2I objects by reference instead of on the stack.
4 years ago
Wayne Stambaugh
89b1fdabe9
Pass COLOR4D object by reference instead of on the stack.
4 years ago
Jeff Young
0fb864d596
Pull some name changes back from 7.0 to ease merging.
4 years ago
Wayne Stambaugh
cf00319c85
More NULL expunging.
4 years ago
Jeff Young
e61822c9e0
Naming conventions and a bug fix on arc points.
4 years ago
jean-pierre charras
cd476e1728
Gerber plotter: ensure filled areas using thick outlines have a closed outline.
Fixes #8735
https://gitlab.com/kicad/code/kicad/issues/8735
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
Jeff Young
16b0147af8
Prefix DIMENSION types.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Marek Roszko
9268340dcc
Kick wx.h out of pcbnew
4 years ago
Seth Hillbrand
3d4ce0796e
Add Gerber plot for SHAPE_ARC and SHAPE_LINE_CHAIN
5 years ago
Jeff Young
5f22025611
Don't drop text on Edge.Cuts when plotting.
While -our- user model is that Edge.Cuts is just for edges, it's best
not to dictate a particular model to users.
ADDED a DRC error when text (or a dimension) appears on the Edge.Cuts
layer.
Fixes https://gitlab.com/kicad/code/kicad/issues/8470
5 years ago
Marek Roszko
3a9a85b373
Enum class PAD_PROP_T
Renamed such that it does not affect python
5 years ago
Marek Roszko
03cf2b517f
Enum class PAD_ATTR_T
Renamed such that python stays the same
5 years ago
Marek Roszko
b243c2280d
enum class PAD_SHAPE_T
5 years ago
Marek Roszko
21fde9b629
enum class PCB_SHAPE_TYPE_T
5 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago
jean-pierre charras
953279ce70
Gerber plot: fix missing AperFunction attribute for texts.
Fix also a incorrect AperFunction attribute for graphic items on Edge.Cuts
in footprints
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
jean-pierre charras
15cc368918
Gerber plotter: prepare optimization of aperture macros type free polygons.
They are used for chamfered round rect pads, and can be used for custom shaped pads.
No actual change currently, but the shape rotation of custom pads and chamfered rr pads
can be now used in gerber plots.
5 years ago
Zoltan Gyarmati
5676117d0b
Make small drill marks size configurable via advanced config for both printing and plotting
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1972
5 years ago
Jeff Young
491fc2c8f2
Save DXF plot params to file and remove some dead code.
Fixes https://gitlab.com/kicad/code/kicad/issues/6720
5 years ago
Alexis Lockwood
4bc12e7dcd
Don't include plotters_specific.h where not needed
This avoids some very large rebuilds when a plotter class is changed.
5 years ago
Jeff Young
9c7c05c161
Mostly formatting cleanup but a few type-casting cleanups too.
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
ec020dd19f
First-class support for filled shapes.
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
63a54d003e
More module -> footprint.
5 years ago
Jeff Young
522d64968e
Yet more module -> footprint.
5 years ago
Jeff Young
52a46341db
More module -> footprint.
5 years ago
Jeff Young
f5443de7f9
D_PAD -> PAD.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
f7333ad64a
Update some classnames including archaic zone names.
5 years ago
Jeff Young
7c60c2e404
Module -> footprint.
5 years ago
Marek Roszko
304e5faf36
Move wxStringSplit to kicad_string
5 years ago
Marek Roszko
b9f1601418
Rename PLOT_MODE to OUTLINE_MODE
5 years ago
Marek Roszko
eb33c33f15
Rename EDA_DRAW_MODE_T to PLOT_MODE
5 years ago
Marek Roszko
1538d737e7
Split out FILL_T to its own header to avoid spreading eda_item everywhere
5 years ago
Marek Roszko
b2e9f6987d
Split base_struct into eda_item and eda_rect
5 years ago
Jeff Young
ef3b7052e0
Remove layer nag dialogs and just ignore non-shapes on Edge_Cuts.
Fixes https://gitlab.com/kicad/code/kicad/issues/5812
5 years ago
jean-pierre charras
380534807b
Plotters: better support of filled circles having a thickness set to 0.
Setting a line thickness = 0 for graphic objects (circle, rect, line) is
allowed but creates issues for circles that were plotted a non filled shapes
but having a outline thickness = 0.
5 years ago