/newofffile {
3 dict begin
/str 35 string def
/offfilename exch (.off) append def
offfilename (r) file
/offfile exch def
offfile str readline pop pop
offfile str readline pop
numstr2array
dup 0 get /ns exch def
1 get /nf exch def
[ns {
offfile str readline pop numstr2array aload pop
3 1 roll
} repeat]
/S exch def
[nf {
[
offfile str readline pop numstr2array
/table exch def
1 1 table length 1 sub {
/i exch def
table i get
} for
]
} repeat]
/F exch def
S F generesolid
% dup videsolid
end
} def
|