← Back to team overview

kicad-developers team mailing list archive

Best approach for arc trace import?

 

I'm considering improving the import of arc tracks when importing pcad format. Currently they are imported as drawing arcs and forced onto the correct copper layer; subsequent editing triggers "correct" behaviour which forces the arc onto non copper layers.

The hacky way to do it would be to interpolate with linear track segments, keeping the resultant shape within some error limit of the true shape to prevent spacing violations.

Better (I think) would be to evolve TRACK to represent lines or arcs (by adding a middle point to the segment and a heuristic to tell whether it's a 3 point arc or a line).

Anyone have other approaches? Thoughts on the above approaches?

-hauptmech



Follow ups