our (@a, $output_file, $accumulate);
our ($xpos,$ypos,$spaces,@titles);
-our ($xmax,$ymax,$gap,$cutlinewidth);
+our ($xmax,$ymax,$gap);
+our ($cutlinewidth,$idstring_size);
sub init () {
$xpos=$ypos=0;
# 100s of thou like in PCB
$gap=20000;
$cutlinewidth=800;
+ $idstring_size=100;
$spaces= '';
$output_file= '';
if (length $spaces) { horizline($ypos); }
}
sub endfile__ {
- if (@ARGV) { horizline($thisextent[1]); }
+ if (@ARGV) {
+ horizline($thisextent[1]);
+ if ($idstring_size && !length $spaces) {
+ $layer_data{10} .= sprintf
+ ("\tText[%d %d %d %d \"%s\" 0x%08lx]",
+ $xpos+$gap, $thisextent[1] + $idstring_size * 10,
+ 0, $idstring_size,
+ 'assembled by $Id$',
+ 0); #');
+ }
+ }
$ypos= $thisextent[1] + $gap;
$spaces .= ' ';
}