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

cameo/: new gnuplot tag #%id= with generator-assigned identifier

Excellon and Gerber store the file name there.
This commit is contained in:
Werner Almesberger
2011-09-05 05:46:25 -03:00
parent 41bffa8f79
commit a42a18fef3
8 changed files with 40 additions and 25 deletions

View File

@@ -25,11 +25,12 @@ struct path {
double r_tool; /* mm */
int outside; /* non-zero to mark path as an outside edge */
int notch; /* non-zero to enable dog-boning for path */
const char *id; /* identifier assigned by generator */
struct path *next;
};
struct path *path_new(double r_tool);
struct path *path_new(double r_tool, const char *id);
void path_add(struct path *path, double x, double y, double z);
void path_replace(struct path *old, struct path *new);
struct path *path_reverse(const struct path *path);