Index: trunk/src_plugins/export_openscad/export_openscad.c =================================================================== --- trunk/src_plugins/export_openscad/export_openscad.c (revision 11844) +++ trunk/src_plugins/export_openscad/export_openscad.c (revision 11845) @@ -98,7 +98,7 @@ #define HA_silk 2 {"mask", "enable exporting mask layers", - PCB_HATT_BOOL, 0, 0, {0, 0, 0}, 0, 0}, + PCB_HATT_BOOL, 0, 0, {1, 0, 0}, 0, 0}, #define HA_mask 3 {"models", "enable searching and inserting model files", @@ -371,11 +371,11 @@ if (!openscad_attribute_list[HA_mask].default_val.int_value) return 0; if (flags & PCB_LYT_TOP) { - scad_new_layer_group("top_mask", +3, "0,0.7,0,0.5"); + scad_new_layer_group("top_mask", +2, "0,0.7,0,0.5"); return 1; } if (flags & PCB_LYT_BOTTOM) { - scad_new_layer_group("bottom_mask", -3, "0,0.7,0,0.5"); + scad_new_layer_group("bottom_mask", -2, "0,0.7,0,0.5"); return 1; } } @@ -384,11 +384,11 @@ if (!openscad_attribute_list[HA_silk].default_val.int_value) return 0; if (flags & PCB_LYT_TOP) { - scad_new_layer_group("top_silk", +2, "0,0,0"); + scad_new_layer_group("top_silk", +3, "0,0,0"); return 1; } if (flags & PCB_LYT_BOTTOM) { - scad_new_layer_group("bottom_silk", -2, "0,0,0"); + scad_new_layer_group("bottom_silk", -3, "0,0,0"); return 1; } }