Index: trunk/src/layer_grp.c =================================================================== --- trunk/src/layer_grp.c (revision 28256) +++ trunk/src/layer_grp.c (revision 28257) @@ -1074,6 +1074,26 @@ st->cache.copper_len = st->cache.copper_alloced = 0; } +const pcb_dflgmap_t pcb_dflg_top_noncop[] = { + {"top_paste", PCB_LYT_TOP | PCB_LYT_PASTE, NULL, PCB_LYC_AUTO, 0}, + {"top_silk", PCB_LYT_TOP | PCB_LYT_SILK, NULL, PCB_LYC_AUTO, 0}, + {"top_mask", PCB_LYT_TOP | PCB_LYT_MASK, NULL, PCB_LYC_SUB | PCB_LYC_AUTO, 0}, + {NULL, 0} +}; + +const pcb_dflgmap_t pcb_dflg_bot_noncop[] = { + {"bottom_mask", PCB_LYT_BOTTOM | PCB_LYT_MASK, NULL, PCB_LYC_SUB | PCB_LYC_AUTO, PCB_DFLGMAP_FORCE_END}, + {"bottom_silk", PCB_LYT_BOTTOM | PCB_LYT_SILK, NULL, PCB_LYC_AUTO, PCB_DFLGMAP_FORCE_END}, + {"bottom_paste", PCB_LYT_BOTTOM | PCB_LYT_PASTE, NULL, PCB_LYC_AUTO, PCB_DFLGMAP_FORCE_END}, + {NULL, 0} +}; + +const pcb_dflgmap_t pcb_dflg_glob_noncop[] = { + {"pmech", PCB_LYT_MECH, "proute", PCB_LYC_AUTO, 0}, + {"umech", PCB_LYT_MECH, "uroute", PCB_LYC_AUTO, 0}, + {NULL, 0} +}; + const pcb_dflgmap_t pcb_dflgmap[] = { {"top_paste", PCB_LYT_TOP | PCB_LYT_PASTE, NULL, PCB_LYC_AUTO, 0}, {"top_silk", PCB_LYT_TOP | PCB_LYT_SILK, NULL, PCB_LYC_AUTO, 0}, Index: trunk/src/layer_grp.h =================================================================== --- trunk/src/layer_grp.h (revision 28256) +++ trunk/src/layer_grp.h (revision 28257) @@ -268,6 +268,11 @@ extern const pcb_dflgmap_t pcb_dflgmap[]; /* the whole map, without doc layers */ +/* non-coper parts of the map, without doc layers, without doc layers */ +extern const pcb_dflgmap_t pcb_dflg_top_noncop[]; +extern const pcb_dflgmap_t pcb_dflg_bot_noncop[]; +extern const pcb_dflgmap_t pcb_dflg_glob_noncop[]; + /* pointers into the array marking boundaries */ extern const pcb_dflgmap_t *pcb_dflgmap_last_top_noncopper; extern const pcb_dflgmap_t *pcb_dflgmap_first_bottom_noncopper;