Index: trunk/src_plugins/io_pads/read.c =================================================================== --- trunk/src_plugins/io_pads/read.c (revision 34567) +++ trunk/src_plugins/io_pads/read.c (revision 34568) @@ -44,6 +44,7 @@ #include "extobj.h" #include "delay_create.h" +#include "delay_clearance.h" #include "read.h" /* Parser return value convention: @@ -78,6 +79,7 @@ /* cache */ const pcb_extobj_t *teardrop_eo; + rnd_coord_t clr[PCB_DLCL_max]; unsigned teardrop_warned:1; unsigned got_design_rules:1; Index: trunk/src_plugins/io_pads/read_high_misc.c =================================================================== --- trunk/src_plugins/io_pads/read_high_misc.c (revision 34567) +++ trunk/src_plugins/io_pads/read_high_misc.c (revision 34568) @@ -216,9 +216,10 @@ char key[32]; int res = pads_read_word(rctx, key, sizeof(key), 0); if (res > 0) { - if (strcmp(key, "COPPER_TO_TRACK") == 0) { - rnd_trace("ctt! level=%d\n", level); - } + if ((strcmp(key, "COPPER_TO_TRACK") == 0) && ((res = pads_read_coord(rctx, &rctx->clr[PCB_DLCL_TRACE])) <= 0)) return res; + if ((strcmp(key, "COPPER_TO_VIA") == 0) && ((res = pads_read_coord(rctx, &rctx->clr[PCB_DLCL_VIA])) <= 0)) return res; + if ((strcmp(key, "COPPER_TO_PAD") == 0) && ((res = pads_read_coord(rctx, &rctx->clr[PCB_DLCL_TRH_TERM])) <= 0)) return res; + if ((strcmp(key, "COPPER_TO_SMD") == 0) && ((res = pads_read_coord(rctx, &rctx->clr[PCB_DLCL_SMD_TERM])) <= 0)) return res; } } return 1;