parameters: (filename,check_magic=True,tight=False,recover=True)
docstring: Create a 3DS DOM from a file.
  
          dom = read_3ds_file(filename,check_magic=True,tight=False,
                              recover=True)
  
      filename: name of a 3DS file.
  
      check_magic: If true, this function checks that the top level
      chunk is the 3DS magic chunk (0x4D4D), and raises an exception
      if it is not.
  
      tight: Whether to use tighter error checking.  Try disabling
      if getting 3DS format errors.
  
      recover: Whether to emit an Error chunk when an error is found;
      otherwise raise an exception.
docstring_summary: Create a 3DS DOM from a file.
docstring_tokens: Create a 3DS DOM from a file .
function: def read_3ds_file(filename,check_magic=True,tight=False,recover=True):
      """Create a 3DS DOM from a file.
  
          dom = read_3ds_file(filename,check_magic=True,tight=False,
                              recover=True)
  
      filename: name of a 3DS file.
  
      check_magic: If true, this function checks that the top level
      chunk is the 3DS magic chunk (0x4D4D), and raises an exception
      if it is not.
  
      tight: Whether to use tighter error checking.  Try disabling
      if getting 3DS format errors.
  
      recover: Whether to emit an Error chunk when an error is found;
      otherwise raise an exception.
  
      """
  
      with open(filename,'rb') as flo:
          return read_3ds_mem(flo.read(),check_magic,tight,recover)
function_tokens: def read_3ds_file ( filename , check_magic = True , tight = False , recover = True ) : with open ( filename , 'rb' ) as flo : return read_3ds_mem ( flo . read ( ) , check_magic , tight , recover )