docstr: Write the face info to the net line.
docstr_tok: ["Write","the","face","info","to","the","net","line","."]
code: def writeFace(self, val, what="f"):
      """Write the face info to the net line."""
      # OBJ counts from 1
      val = [v + 1 for v in val]
      # Make string
      if self._hasValues and self._hasNormals:
          val = " ".join(["%i/%i/%i" % (v, v, v) for v in val])
      elif self._hasNormals:
          val = " ".join(["%i//%i" % (v, v) for v in val])
      elif self._hasValues:
          val = " ".join(["%i/%i" % (v, v) for v in val])
      else:
          val = " ".join(["%i" % v for v in val])
      # Write line
      self.writeLine("%s %s" % (what, val))
  
imports: import numpy
  import time
  from gzip import GzipFile
  from os import path
  from ..geometry import _calculate_normals
  from ..util import logger
label_desc: Use image node_id 5 for calling the WavefrontWriter obj's underlying member method code with example usage: obj.writeFace(val, what) without return types