Seth Hillbrand
bf1ced4184
Allow more segments for large-arc footprints
...
When approximating arcs for polygons, we should allow for large radius
arcs/circles without coarsening the arc beyond a limit. This is a
5.1.x-only patch to address this issue. It should not be picked to
master as this is already addressed separately by max_error
2019-06-28 19:25:42 -07:00
jean-pierre charras
55757039fa
Custom pads: fix a bug when plotting the custom shape. This bug was seen only with some shapes, not all, and only for layers having a negative margin.
...
Fixes: lp:1831941
https://bugs.launchpad.net/kicad/+bug/
2019-06-07 10:51:43 +02:00
Seth Hillbrand
25f8b1ce72
pcbnew: Update multiple zone segments
...
Where we can get away with lower segment counts (localizing an anchor),
we keep the low-def 16 segment count. Intermediate values and values
that are visible to the user are set to high definition. Most are
simply hints to the inflation correction but where they show, the user
show see smooth lines.
2019-01-03 17:34:59 -08:00
Seth Hillbrand
c92424898c
pcbnew: Replace magic number segment counts
...
Where we set 32 segments per circle, the magic number is replaced by the
same value as the common define ARC_APPROX_SEGMENTS_COUNT_HIGH_DEF
2019-01-03 17:21:10 -08:00
jean-pierre charras
04aeec1223
Remove useless includes
2018-12-12 15:28:59 +01:00
jean-pierre charras
fb3859642f
Pcbnew, Plot: fix incorrect plot of custom shapes, when the shape has holes (missing holes).
...
Fixes: lp:1789404
https://bugs.launchpad.net/kicad/+bug/1789404
2018-08-28 17:50:49 +02:00
jean-pierre charras
689db4f038
Pcbnew, D_PAD::buildCustomPadPolygon(): use PM_STRICTLY_SIMPLE instead of PM_FAST in polygon calculation.
...
It is slightly slower, but avoid any issue in polygon generation.
2018-05-18 08:38:03 +02:00
Tomasz Włostowski
f2bb398ae6
pcbnew: fixes in primitives->custom pad tool
...
Fixes: lp:1753712
* https://bugs.launchpad.net/kicad/+bug/1753712
Fixes: lp:1753711
* https://bugs.launchpad.net/kicad/+bug/1753711
2018-03-06 14:59:15 +01:00
jean-pierre charras
79dac591c8
Custom pad shape primitive not always visible
...
Fixes: lp:1750458
https://bugs.launchpad.net/kicad/+bug/1750458
2018-02-20 10:52:37 +01:00
jean-pierre charras
d4192b4646
rename files
2018-01-30 20:23:34 +01:00