I draw a circular Polygon in an ULP, but I have a problem with the line
width. I created the following test program:
string line;
string cmd = "GRID mm;\nchange layer 16;\n";
cmd += "CHANGE WIDTH 2;\n";
// cmd += "circle (0 0) (0 20)\n";
cmd += "polygon sname 1 (0 -7) +180 (0 7) +180 (0 -7);\n";
exit(cmd);
This draws a circular Polygon with 1 mm line width.
If I remove the // it draws the circle with a line width of 2,
but then I get the following error message:
Invalid wire width: 'polygon'
(valid range is 0..200mm)
Robert