Index: trunk/src_plugins/export_openscad/scad_draw.c =================================================================== --- trunk/src_plugins/export_openscad/scad_draw.c (revision 28510) +++ trunk/src_plugins/export_openscad/scad_draw.c (revision 28511) @@ -80,7 +80,7 @@ static int scad_draw_outline(void) { - pcb_poly_t *poly = pcb_topoly_1st_outline(PCB); + pcb_poly_t *poly = pcb_topoly_1st_outline(PCB, PCB_TOPOLY_FLOATING); int n; if (poly == NULL) Index: trunk/src_plugins/lib_polyhelp/topoly.c =================================================================== --- trunk/src_plugins/lib_polyhelp/topoly.c (revision 28510) +++ trunk/src_plugins/lib_polyhelp/topoly.c (revision 28511) @@ -314,7 +314,7 @@ } #undef check -pcb_poly_t *pcb_topoly_1st_outline(pcb_board_t *pcb) +pcb_poly_t *pcb_topoly_1st_outline(pcb_board_t *pcb, pcb_topoly_t how) { pcb_poly_t *poly; pcb_any_obj_t *start = pcb_topoly_find_1st_outline(pcb); @@ -327,7 +327,7 @@ pcb_poly_point_new(poly, 0, pcb->hidlib.size_y); } else - poly = pcb_topoly_conn(pcb, start, PCB_TOPOLY_FLOATING); + poly = pcb_topoly_conn(pcb, start, how); return poly; } Index: trunk/src_plugins/lib_polyhelp/topoly.h =================================================================== --- trunk/src_plugins/lib_polyhelp/topoly.h (revision 28510) +++ trunk/src_plugins/lib_polyhelp/topoly.h (revision 28511) @@ -44,7 +44,7 @@ pcb_any_obj_t *pcb_topoly_find_1st_outline(pcb_board_t *pcb); /* Construct apolygon of the first line/arc on the outline layer from top-left */ -pcb_poly_t *pcb_topoly_1st_outline(pcb_board_t *pcb); +pcb_poly_t *pcb_topoly_1st_outline(pcb_board_t *pcb, pcb_topoly_t how); extern const char pcb_acts_topoly[];