Draw a Microstrip Radial Stub"
"RUN microstrip-radial-stub"
"
"
"Author: support@cadsoft.de
"
// THIS PROGRAM IS PROVIDED AS IS AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED
int grid = 1;
string GridUnit[] = { "MIC", "MM", "MIL", "INCH" };
real GridWidth[] = { 10.2, 0.0102, 0.4, 0.0004 }; // default by grid
if (board) { board(B) grid = B.grid.unit; }
if (library) { library(L) grid = L.grid.unit; }
real width = GridWidth[grid];
string layer = "1";
string gridstr = "";
real D = 0.01;
real L = 0.99;
real angle = 30.0; // angle of Stub
int arcres = angle / 3; // resolution of angle in steps
real angle_offset = 0.0; // rotate the complete stub
int polygon = 1; // draw as polygon
real arcsinXa;
real arcsinYa;
real arcsinXe;
real arcsinYe;
real ox, oy; // offset X Y
string signame = "";
string cmd_draw_info = "