Hello,
some errors in common_plotHPGL_functions.cpp:
Line 481-481 in FlashPadCircle:
fprintf( outputFile, "PA %.0f,%.0fd;CI %.0f;\n",
pos_dev.x, pos_dev.y, rsize );
The "d" is wrong, generates a HPGL syntax error for circles.
Line 402-402 in Arc:
cmap.x = (int) ( centre.x + ( radius * cos( RAD2DEG( StAngle /
10.0 ) ) ) );
cmap.y = (int) ( centre.y - ( radius * sin( RAD2DEG( StAngle /
10.0 ) ) ) );
RAD2DEG is wrong, it must be DEG2RAD. The angle should be restricted to
-180/+179 degrees.
Regards, Andreas
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp