1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:26:27 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
Werner Almesberger
346899c34c cameo/: new command "purge" to remove corners that add little or on area
Such corners are typically artefacts that can upset later processing stages.
2015-09-28 18:13:02 -03:00
Werner Almesberger
c7ff028cc9 cameo/: new command write_gerber, for Gerber output 2015-03-15 21:07:47 -03:00
Werner Almesberger
a030eff963 cameo/: new command "flip" to flip paths on the X or Y axis 2012-08-23 09:04:44 -03:00
Werner Almesberger
e69fa24133 cameo/: new commands "remove" and "keep" for path filtering (untested) 2012-06-12 12:32:08 -03:00
Werner Almesberger
479ae41070 cameo/README: added warning that "area" still has bugs 2012-03-29 18:44:14 -03:00
Werner Almesberger
c59e39356b cameo: new command "reverse" to reverse all paths
Experimentally used to reverse tool direction in the smoothing pass.
2012-03-21 20:31:29 -03:00
Werner Almesberger
18c9477137 cameo: "area" now works on Z layers individually (untested) 2012-03-19 00:26:41 -03:00
Werner Almesberger
489ca9c24d cameo: documented "area"; miscellaneous cleanup
Also removed the tool diameter argument. We use the diameter from the
path, like "offset" does. In the long run, this convention probably
doesn't make sense, though.
2012-03-18 21:00:08 -03:00
Werner Almesberger
2530a11c80 cameo: an attempt at area fill (WIP) 2012-03-18 13:16:26 -03:00
Werner Almesberger
0826d5b35e cameo: allow comma between parameters of "drill" (makes use in scripts easier)
- lang.y: allow an optional comma between the parameters of "drill"
- README: explain the new syntax of "drill"
2011-02-15 02:06:10 -03:00
Werner Almesberger
dfc53c781a 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
2011-02-13 02:25:32 -03:00
Werner Almesberger
ee3a3e6162 cameo: array steps can now be specifed as item size plus border
- lang.y (align, bbox): moved bounding box calculation to separate
  function (for sharing)
- lang.y: array sizes can specified as the size of the respective
  dimension of the bounding box plus a border
- README: documented use of border size with "array"
2011-01-05 22:34:39 -03:00
Werner Almesberger
6f30bab648 cameo: added "rotate" command
- lang.l, lang.y (rotate): added command "rotate", with cumulative
  rotation
- README: documented "rotate"
- README: corrected typo in description of the translation commands
2011-01-03 01:25:42 -03:00
Werner Almesberger
57b4e276e5 cameo: added optimization of movements between tool paths
- ops.h, ops.c (optimize_paths): reorder toolpaths to reduce the distance
  between them
- lang.l, lang.y: added command "optimize"
- README: documented "optimize"
2010-12-16 14:19:46 -03:00
Werner Almesberger
b8f6545821 cameo: added command "append", improved file output error checking
- README: added description of "append"
- lang.l, lang.y: added command "append"
- gnuplot.h, gnuplot.c (gnuplot_append): append gnuplot paths to an
  existing file
- gnuplot.c (gnuplot_do_write): if writing to standard output, at least
  check that fflush() works at the end
2010-12-15 06:27:15 -03:00
Werner Almesberger
7a64e425da cameo: completed support for dril/mill conversions
- README: changed the term "drill/mill substitution" to "drill/mill
  conversion"
- README: described the drill/mill conversion commands
- lang.y: "drill" and "mill" worked on the wrong (empty) list
- ops.c (half_circle): fixed transcription error
2010-12-15 06:13:40 -03:00
Werner Almesberger
b1652fc50a cameo: adding support for dril/mill substitutions (in progress)
- Makefile (OBJS): added shape.o
- README: added section for drill/mill substitutions
- lang.l, lang.y: added commands "drill", "empty", "mill", "remainder", and
  "reset"
- lang.y (clear_paths): moved freeing of all paths from "clean" to shared
  function clear_paths
- ops.h, ops.c (try_drill, try_mill): helper functions for "drill" and
  "mill" commands
- shape.h. shape.c (slot, circle): functions to generate toolpaths for
  basic shapes
2010-12-15 04:56:58 -03:00
Werner Almesberger
848eb2a209 cameo: migrated Excellon reader from drl2gp
- Makefile (OBJS): added excellon.o
- README: added brief description of Excellon input
- excellon.h, excellon.c: adaptation of KiCad drill file reader from
  ../drl2gp/drl2gp.c
- lang.l, lang.y: added command "excellon" to read KiCad drill files
- gerber.h: removed stray newline
2010-12-15 03:27:55 -03:00
Werner Almesberger
26dc02ea57 cameo: fixed processing of omitted file names, documented file name usage
- README: document that file names can contain almost anything
- lang.l: reset the scanner state on \n, so that we stop looking for a
  file name if the file name has simply been omitted
2010-12-15 00:45:49 -03:00
Werner Almesberger
3ae3d6cdd3 cameo: cleaned up and documented the tool compensation
- README, lang.l, lang.y: renamed the "tool" command to "offset"
- README: documented "offset"
- ops.h, ops.c (tool_comp_paths), cameo.c (main), lang.y: added
  parameter to tool_comp_paths to treat all paths as internal
- lang.l, lang.y: added option "inside" to the "offset" command
- lang.y: "offset" can now take multiple options in any order
2010-12-14 23:37:31 -03:00
Werner Almesberger
f36f7048e6 cameo: documented X/Y translation commands, some small improvements
- README: described the X/Y translation commands
- lang.y: print an error if the lower bound if larger than the upper bount
  in an "align" command
- lang.y: mention that "array" doesn't work as expected if in imperial mode
2010-12-14 19:17:34 -03:00
Werner Almesberger
ddcf5191db cameo: various scanner and parser fixes
- README, lang.y: changed depth parameter of "z" command to position
  (sign changes)
- lang.l: defer FILENAME after "gerber" and "gnuplot", so that we don't
  mis-read the number
- lang.l, lang.y: return the reference point after "align" as new token
  REF, not as NUMEBER, so that we can catch syntax errors that would
  cause scanner and parser to become unsynchronized
- lang.l: accept negative numbers
- lang.l: added support for comments beginning with #
2010-12-14 16:49:26 -03:00
Werner Almesberger
86c27dbe7c cameo: call tool compensation from script
- README, lang.l, lang.y: added option "dog" to "tool" command
- lang.y: call tool_comp_paths
2010-12-14 14:20:19 -03:00
Werner Almesberger
f80a01a9c0 cameo: adding toolpath adaptation language (in progress)
- README: added description of toolpath adaptation language (in progress)
- Makefile (OBJS): added lex.yy.o and y.tab.o
- Makefile (SLOPPY): relaxed compiler warnings for files generated by
  flex/yacc
- Makefile (clean): added lex/yacc intermediate files
- Makefile: added lex and yacc (bison) to build process
- Makefile: added rules for lex/yacc intermediate files
- lang.l, lang.y: toolpath adaptation language (in progress)
2010-12-14 13:41:37 -03:00
Werner Almesberger
0bc780611d Introducing cameo, a toolbox of CAM operations. 2010-11-01 14:58:29 -03:00