Index: trunk/src_plugins/export_openems/export_openems.c =================================================================== --- trunk/src_plugins/export_openems/export_openems.c (revision 32002) +++ trunk/src_plugins/export_openems/export_openems.c (revision 32003) @@ -801,7 +801,7 @@ if (step < 8) step = 8; step = 2*M_PI/step; - rnd_fprintf(ctx->f, " ", PRIO_COPPER, ctx->elevation); + rnd_fprintf(ctx->f, " \n", PRIO_COPPER, ctx->elevation, floor(2*M_PI/step)); for(a = 0; a < 2*M_PI; a += step) rnd_fprintf(ctx->f, " \n", x + cos(a)*r, y + sin(a)*r); rnd_fprintf(ctx->f, " \n"); @@ -822,7 +822,7 @@ fprintf(ctx->f, "CSX = AddPcbrndPoly(CSX, PCBRND, %d, poly%ld_xy, 1);\n", ctx->clayer, oid); } else { - rnd_fprintf(ctx->f, " ", PRIO_COPPER, ctx->elevation); + rnd_fprintf(ctx->f, " \n", PRIO_COPPER, ctx->elevation, n_coords); for(n = 0; n < n_coords; n++) rnd_fprintf(ctx->f, " \n", RND_COORD_TO_MM(x[n]+dx), RND_COORD_TO_MM(-(y[n]+dy))); rnd_fprintf(ctx->f, " \n");