Index: pcblib/parametric/acy =================================================================== --- pcblib/parametric/acy (revision 373) +++ pcblib/parametric/acy (revision 374) @@ -8,7 +8,7 @@ #@@params spacing,type,pol,dia #@@param:spacing spacing between the two pins -#@@param:type silk symbol type: block, endcap, coil, core, core2, zigzag, line (optinal; default: block) +#@@param:type silk symbol type: block, endcap, standing, coil, core, core2, zigzag, line (optinal; default: block) #@@param:pol how to mark polarity: none, sign, bar, dot (optional; default: do not mark polarity) #@@param:dia body diameter - affects the silk rectangle (optional; default: spacing/12) #@@param:wiper silk symbol wiper type: none, parrow, aarrow, looparrow, thermistor (optinal; default: none) Index: pcblib/parametric/acy.awk =================================================================== --- pcblib/parametric/acy.awk (revision 373) +++ pcblib/parametric/acy.awk (revision 374) @@ -20,8 +20,11 @@ proc_args(P, "spacing,type,pol,dia", "spacing") spacing = parse_dim(P["spacing"]) - dia = either(parse_dim(P["dia"]), spacing/12) + dia = either(parse_dim(P["dia"]), spacing/6) +# oops, dia is a radius rather + dia=dia/2 + offs_x = +spacing/2 element_begin("acy" P["spacing"], "R1", "acy" P["spacing"] ,0,0, spacing/2-spacing/5,-mil(20)) @@ -82,6 +85,13 @@ else if (P["type"] == "line") { element_line(-spacing/2, 0, +spacing/2, 0) } + else if (P["type"] == "standing") { + r = dia*2 + if (r < DEFAULT["pin_ringdia"]/2*1.2) + r = DEFAULT["pin_ringdia"]/2*1.2 + element_arc(-spacing/2, 0, r, r, 0, 360) + element_line(-spacing/2, 0, +spacing/2, 0) + } else { error("Invalid type") }