Index: xy.c =================================================================== --- xy.c (revision 35863) +++ xy.c (revision 35864) @@ -671,7 +671,7 @@ because the p&p machine will rotate around this pont while the subc was rotated around it's pcb-rnd-origin) */ if (atrans && ((ctx->tx != 0) || (ctx->ty != 0)) && (ctx->theta != 0)) { - double trad = (90.0-ctx->theta) / RND_RAD_TO_DEG; + double trad = (-ctx->theta) / RND_RAD_TO_DEG; rnd_rotate(&tx, &ty, 0, 0, cos(trad), sin(trad)); } x += tx;