Comment 1 for bug 1812445

Revision history for this message
Hildo Guillardi JĂșnior (hildogjr) wrote :

The output track angle should use same IC/pad angle (or 90 deg rounded from it):
1) If IC / pad angle = 0 / 90 / 180 or 270deg => use 0 / 90 / 180 and 270deg;
2) If .... = 45 / ... => use 45 ....

Same to any `IC_angle` angle, providing the specific allowed `track_out_angle`.

track_out_angle[0] = (IC_angle % 90 );
track_out_angle[1] = track_out_angle[0] + 90;
track_out_angle[2] = track_out_angle[1] + 90;
track_out_angle[3] = track_out_angle[2] + 90;

Other important think is that the first track corner should adequate the align to 0 / 90 / 180 / 270deg angle. So this will be not a 45deg corner.