Index: src_plugins/io_pads/read.c =================================================================== --- src_plugins/io_pads/read.c (revision 34648) +++ src_plugins/io_pads/read.c (revision 34649) @@ -151,7 +151,7 @@ else if (strncmp(s, "MILS", 4) == 0) rctx->coord_scale = RND_MIL_TO_COORD(1); else if (strncmp(s, "METRIC", 6) == 0) - rctx->coord_scale = RND_MM_TO_COORD(1.0/10000.0); + rctx->coord_scale = RND_MM_TO_COORD(1.0); else if (strncmp(s, "INCHES", 6) == 0) rctx->coord_scale = RND_INCH_TO_COORD(1.0/100000.0); else { Index: src_plugins/io_pads/write.c =================================================================== --- src_plugins/io_pads/write.c (revision 34648) +++ src_plugins/io_pads/write.c (revision 34649) @@ -50,7 +50,7 @@ vtp0_t plid2grp; /* pads layer ID to pcb-rnd group */ } write_ctx_t; -#define CRD(c) ((long)rnd_round(RND_COORD_TO_MM(c) * 10000)) +#define CRD(c) ((long)rnd_round(RND_COORD_TO_MM(c))) #define CRDX(c) CRD(c) #define CRDY(c) CRD(wctx->pcb->hidlib.size_y - (c)) #define ROT(r) (r)