1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

cameo: new command "stats" to print path statistics

- README: documented the "stats" command
- lang.l, lang.y: added "stats" command
- path.h (path_stats), path.c (path_stats): calculate and print path
  statistics
This commit is contained in:
Werner Almesberger
2011-02-13 02:25:32 -03:00
parent 6947b3a5d1
commit dfc53c781a
5 changed files with 42 additions and 7 deletions

View File

@@ -2,8 +2,8 @@
/*
* lang.l - Toolpath adaptation language
*
* Written 2010 by Werner Almesberger
* Copyright 2010 by Werner Almesberger
* Written 2010-2011 by Werner Almesberger
* Copyright 2010-2011 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -50,6 +50,7 @@ NUM -?[0-9]+\.?[0-9]*
<INITIAL>remainder return TOK_REMAINDER;
<INITIAL>reset return TOK_RESET;
<INITIAL>rotate return TOK_ROTATE;
<INITIAL>stats return TOK_STATS;
<INITIAL>translate return TOK_TRANSLATE;
<INITIAL>z return TOK_Z;