kicad/utils
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
..
idftools Remove useless tests after operator new 2018-04-25 12:07:43 +02:00
kicad-ogltest Fix OSX bundling issue. 2017-05-17 08:14:18 -04:00
kicad2step kicad2step: Add short segments to fix outline contiguity for arcs 2018-06-19 10:29:18 +02:00
CMakeLists.txt OCC: Fix issues for OpenCascade 7.3 2018-06-12 10:03:13 -07:00