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

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
This commit is contained in:
Werner Almesberger
2010-12-13 17:45:33 -03:00
parent f6cf2e1b9b
commit 8999b3016a
6 changed files with 196 additions and 5 deletions

View File

@@ -37,5 +37,6 @@ int path_tool_is_left(const struct path *path);
struct path *path_offset(const struct path *path, int left, int notch);
struct path *path_find_leftmost(struct path *path);
void path_free(struct path *path);
struct path *path_connect(struct path *path);
#endif /* !PATH_H */