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:
@@ -68,7 +68,7 @@ struct path *try_drill(struct path *path, double d_min, double d_max)
|
||||
return NULL;
|
||||
if (!path->first || path->first != path->last)
|
||||
return NULL;
|
||||
new = path_new((d_min+d_max)/2); /* @@@ fishy */
|
||||
new = path_new((d_min+d_max)/2, path->id); /* @@@ fishy */
|
||||
path_add(new, path->first->x, path->first->y, path->first->z);
|
||||
return new;
|
||||
}
|
||||
@@ -82,11 +82,11 @@ struct path *try_mill(struct path *path, double diam, double step, int any)
|
||||
return NULL;
|
||||
if (path->first == path->last)
|
||||
return circle(path->first->x, path->first->y, path->first->z,
|
||||
path->r_tool, diam/2, step);
|
||||
path->r_tool, diam/2, step, path->id);
|
||||
if (path->first->next == path->last)
|
||||
return slot(path->first->x, path->first->y,
|
||||
path->first->next->x, path->first->next->y,
|
||||
path->first->z, path->r_tool, diam/2, step);
|
||||
path->first->z, path->r_tool, diam/2, step, path->id);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user