Index: scad_models.c =================================================================== --- scad_models.c (revision 17675) +++ scad_models.c (revision 17676) @@ -84,7 +84,7 @@ tab[ind] = '\t'; ind++; tab[ind] = '\0'; } if (rot != 0) { - pcb_append_printf(&model_calls, " %srotate([0,0,%f])\n", tab, -rot); + pcb_append_printf(&model_calls, " %srotate([0,0,%f])\n", tab, rot); tab[ind] = '\t'; ind++; tab[ind] = '\0'; } if (transf != NULL) {