Index: trunk/src_plugins/io_pcb/file.c =================================================================== --- trunk/src_plugins/io_pcb/file.c (revision 18853) +++ trunk/src_plugins/io_pcb/file.c (revision 18854) @@ -482,7 +482,7 @@ else if (pcb_pstk_export_compat_pad(ps, &x1, &y1, &x2, &y2, &thickness, &clearance, &mask, &square, &nopaste)) { unsigned long fl = (square ? PCB_FLAG_SQUARE : 0) | (nopaste ? PCB_FLAG_NOPASTE : 0); pcb_fprintf(FP, "\tPad[%[0] %[0] %[0] %[0] %[0] %[0] %[0] ", - x1 - ox, y1 - oy, x2 - ox, y2 - oy, thickness, clearance*2, mask); + x1 - ox, y1 - oy, x2 - ox, y2 - oy, thickness, clearance, mask); pcb_print_quoted_string(FP, (char *)PCB_EMPTY(pcb_attribute_get(&ps->Attributes, "name"))); fprintf(FP, " "); pcb_print_quoted_string(FP, (char *) PCB_EMPTY(pcb_attribute_get(&ps->Attributes, "term"))); Index: trunk/src_plugins/lib_compat_help/pstk_compat.c =================================================================== --- trunk/src_plugins/lib_compat_help/pstk_compat.c (revision 18853) +++ trunk/src_plugins/lib_compat_help/pstk_compat.c (revision 18854) @@ -666,7 +666,7 @@ break; } - *clearance = ps->Clearance > 0 ? ps->Clearance : tshp->shape[0].clearance; + *clearance = (ps->Clearance > 0 ? ps->Clearance : tshp->shape[0].clearance) * 2; *nopaste = pasten < 0; return pcb_true;