Index: obj_pstk_proto.c =================================================================== --- obj_pstk_proto.c (revision 32747) +++ obj_pstk_proto.c (revision 32748) @@ -72,6 +72,7 @@ dst->mech_idx = -1; if (ts != NULL) { + /* find and cache the index of the mech shape (slot) */ for(n = 0; n < ts->len; n++) { if (ts->shape[n].layer_mask & PCB_LYT_MECH) { dst->mech_idx = n; @@ -78,6 +79,10 @@ break; } } + + /* mark each copper shape with whether it overlaps with the hole/mech shape or not */ + for(n = 0; n < ts->len; n++) { + } } }