# History file 'l7-mod.h' transforms surfaces in model 'L7' into VRML
# or GOCAD
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Input files required
  chk.pl: "data/l7/" "l7-mod.dat"
  chk.pl: "data/l7/" "l7-cam.dat"
  chk.pl: "data/l7/" "l7-dli.dat"
  chk.pl: "forms/"   "hsv.dat"

# Form and name of output file
  VRML='VRML2'  WRL='l7-srf.wrl'  # VRML
 #VRML='GOCAD'  WRL='l7-srf.mx'   # GOCAD

# Input data
  MODEL='l7-mod.dat'

# Temporary files
  VRTX='vrtx.tmp'  PLGN='plgn.tmp'  TRGL='trgl.tmp'

# Setting of cameras (viewpoints) and lights
  UP1=0  UP2=0  UP3=-1  CAMERA='l7-cam.dat'
  DLIGHT='l7-dli.dat'  AMBIENT=0.00

# Colour properties
  COLORS='hsv.dat'
  TRANSP=0.00  SPECULAR=0.22  SHININESS=0.10
  R=0.00  G=0.00  B=0.00  # Black background
  iniwrl:

# Colours correspond to the indices of surfaces
  COLUMN07='ISRF' # default value
  KOLSRF=7  VPER=6  VREF=1  CREF=0.

# Triangulating and plotting interfaces
  N1=31 N2=31 N3=8 D1=0.26571 D2=0.31333 D3=0.43 O1=3.13 O2=1.3 O3=0.
  modsrf:
  trgl:
  KOLUMN=7
  VALUE=1  VRTXN='l7-pts1.out'  TRGLN='l7-trg1.out'  trglsort:
  VALUE=2  VRTXN='l7-pts2.out'  TRGLN='l7-trg2.out'  trglsort:
  VALUE=3  VRTXN='l7-pts3.out'  TRGLN='l7-trg3.out'  trglsort:
  PROPERTIES='N1 N2 N3 ISRF'                       # just for GOCAD
  NAME='Surface1'                                  # just for GOCAD
  VRTX='l7-pts2.out'  TRGL='l7-trg2.out'  srfwrl:
  NAME='Surface2'                                  # just for GOCAD
  VRTX='l7-pts3.out'  TRGL='l7-trg3.out'  srfwrl:

# Adding model box wireframe
  LIN='l7-bnd.out'
  KOLLIN=0  R=1.00  G=1.00  B=1.00
  NAME='ModelBox'  PROPERTIES=' '  # just for GOCAD
  bndlin:
  linwrl:
