OBJReader.read

OBJReader.read()[source]

Read the contents of the file, line by line.

Every line is split into a head and a tail. The head determines the meaning of the data found in tail.

  • #: comment

  • v: vertex coordinates

  • vt: vertex texture

  • vn: vertex normal

  • vp: parameter vertex

  • p: point

  • l: line

  • f: face

  • deg: freeform attribute degree

  • bmat: freeform attribute basis matrix

  • step: freeform attribute step size

  • cstype: freeform attribute curve or surface type

  • o: start of named object

  • g: start of a named group