Werner Almesberger
7b54293bff
cameo/: move conversion between poly2d and "struct path" from area-poly2d.c to poly2d.c
...
Untested.
2012-06-12 15:04:40 -03:00
Werner Almesberger
1c11f4d201
cameo/: use libpoly2d for area fills
2012-05-08 01:06:45 -03:00
Werner Almesberger
2530a11c80
cameo: an attempt at area fill (WIP)
2012-03-18 13:16:26 -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
2bf4559f3f
cameo: moved tool compensation from cameo.c to ops.c
...
- Makefile (OBJS): added ops.o
- cameo.c, ops.h, ops.c (process_path, process_paths): moved from cameo.c
to ops.c
- ops.h, ops.c (process_paths), cameo.c (main): renamed process_paths to
tool_comp_paths
- ops.c (process_path, tool_comp_paths): renamed process_path to
tool_comp_1
2010-12-14 14:15:52 -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
8999b3016a
cameo: added KiCad Gerber input and path merging
...
- Makefile (OBJS): added gerber.o
- cameo.c (usage, main): new option -g to process input a KiCad Gerber
- gerber.h, gerber.c (gerber_read): parse Gerber files as generated by KiCad
- path.h, path.c (path_reverse_inplace, points_eq, attr_eq, path_connect):
merge sets of paths with equal endpoints into single paths
2010-12-13 17:45:33 -03:00
Werner Almesberger
d465acbeb5
Enable more compiler warnings. Some cleanup.
...
- cameo/Makefile (CFLAGS): added more warning flags
- cameo/path.h (path_direction): removed unused prototype
- cameo/path.c (angle): renamed to angle_3 to keep it from getting shadowed
by local variable
2010-11-01 16:56:09 -03:00
Werner Almesberger
0bc780611d
Introducing cameo, a toolbox of CAM operations.
2010-11-01 14:58:29 -03:00