Commit Graph

6 Commits

Author SHA1 Message Date
Werner Almesberger 639d9a21df cngt/cngt.c: added small steps (default) and long steps (with shift) 2011-08-31 17:21:59 -03:00
Werner Almesberger eb8964da6f cngt/cngt.c: added positioning-only mode
Invoke with only the initial Z, without a height and without file or
reference points. E.g.,

cngt -60
2011-08-31 15:39:40 -03:00
Werner Almesberger daa355461f cngt/cngt.c (do_key): merge common x/y positioning code 2011-08-31 14:52:34 -03:00
Werner Almesberger ffaded7f48 cngt: added support for setting default positions from toolpath file
- cngt.c (x, y, z, move, up, down, do_key, main): renamed "x", "y", "z" to
  "cx", "cy", "cz", to avoid clash with common local "x", etc.
- cngt.c (gp_minmax, main): populate default positions with bounding box
  of toolpath if given a file name instead of points
2010-12-16 04:47:00 -03:00
Werner Almesberger 62152e2987 cngt: some small fixes
- Makefile: updated program name in title comment
- cngt.c (do_key): "l" moved left, like "h"
- cngt.c (main): when starting, immediately move to initial position
- getkey.c (tty_open): open /dev/tty read-only, not write-only
2010-12-15 22:40:43 -03:00
Werner Almesberger 154be2bada cngt: tool change utility for MDX15/20 (in progress)
- Makefile: basic Makefile
- cngt.c: argument processing and main loop
- serial.h, serial.c: serial port output for MDX-15/20, from cncmap/millp/
- getkey.h, getkey.c: single-key (raw) TTY input
2010-12-15 20:47:58 -03:00