no strict 'subs';
our $scale= 7.0;
+
+if (@ARGV && $ARGV[0] =~ m/^\-S([0-9.]+)$/) {
+ $scale= $1 * 1.0;
+ shift @ARGV;
+}
+
our $ptscale= 72/25.4 / $scale;
our $psu_ulen= 4.5;
$eo->{DrawMods}= $ccc;
#print STDERR "created eo $eo re $eo->{GlobRe} n=$n d=$d v=$v c=$c limit=$limit cc=$cc\n";
push @eopts, $eo;
+ } elsif (m/^S/) {
+ die "-S option must come right at the start and have numeric arg";
} else {
die "unknown option -$_";
}
--- /dev/null
+abs a 50 50 0
+extend a b ang 13.116 -230
+extend b c uptoang 0 230
+extend c d ang 13.116 230
+extend d e uptoang 0 -230