← Back to team overview

kicad-developers team mailing list archive

Interpreting the ARC command

 

I'm writing a program the reads schematic library symbols, and I'm having
hard time understanding how arcs are drawn.
Taking, for example, the Antenna_Shield symbol from device.lib. This symbol
contains two arcs:

A -1 -73 32 -882 1242 0 1 0 N 0 -105 -20 -45
A 1 -73 32 -918 558 0 1 0 N 0 -105 20 -45

Both arcs start at approximately the same angle (-90 = 270 degrees) and end
at two different angles - the first at 124 degrees, the second at 56
degrees. When the symbol is drawn, the first arc is drone clockwise while
the latter is drawn anti-clockwise. So, how is it possible to determine the
direction of the arc?

Avishay.

Follow ups