kicad/utils/kicad2step/pcb
Maciej Suminski 1541cbdf04 kicad2step: Add short segments to fix outline contiguity for arcs
STEP exporter keeps outline contiguous by storing the last point
coordinates and using them as the starting point for the next segment. It
might create a problem for arcs, as one of the arc end points may become
translated (changed to the last outline point), while the remaining
points (center and the other endpoint) are kept original. For large
deltas it renders an arc invalid, as it cannot pass through a modified
endpoint anymore.

To fix this, short segments are added to link the last outline point
with an arc endpoint, but only if the distance between the two is below
a certain threshold. This way the outline is kept contiguous and the arc
end point is unmodified, warranting its correctness.

Fixes: lp:1774351
* https://bugs.launchpad.net/kicad/+bug/1774351
2018-06-19 10:29:18 +02:00
..
3d_resolver.cpp Roll back last 2 commits meant for the other resolver only. 2018-05-21 16:25:44 +01:00
3d_resolver.h Added kicad2step tool. 2016-09-22 08:37:16 -04:00
base.cpp kicad2step: More diagnostic messages to determine export issues 2018-06-18 17:51:22 +02:00
base.h kicad2step: More diagnostic messages to determine export issues 2018-06-18 17:51:22 +02:00
kicadcurve.cpp kicad2step: More diagnostic messages to determine export issues 2018-06-18 17:51:22 +02:00
kicadcurve.h kicad2step: More diagnostic messages to determine export issues 2018-06-18 17:51:22 +02:00
kicadmodel.cpp Decode "offset" in STEP export tool 2017-12-01 16:21:50 +01:00
kicadmodel.h Change KICADMODEL definition from struct to class for consistency 2016-09-26 23:54:34 -04:00
kicadmodule.cpp Fix incorrect parsing in kicad2step when a footprint has both locked and placed options activated. 2018-01-15 11:24:09 +01:00
kicadmodule.h Fixes: lp:1696204 3D STEP export doesn't handle B.Cu rename 2017-06-08 08:33:14 +02:00
kicadpad.cpp Added more info to kicad2step parsing failures 2017-02-01 19:43:44 -05:00
kicadpad.h Added kicad2step tool. 2016-09-22 08:37:16 -04:00
kicadpcb.cpp Coverity fixes 2018-03-19 10:02:05 +01:00
kicadpcb.h Fixes: lp:1696204 3D STEP export doesn't handle B.Cu rename 2017-06-08 08:33:14 +02:00
oce_utils.cpp kicad2step: Add short segments to fix outline contiguity for arcs 2018-06-19 10:29:18 +02:00
oce_utils.h kicad2step: Report lack of model definition rather than empty file names 2018-03-19 17:04:38 +01:00