OBJ File Format

1. General Requirements

  • Units of measurement are millimeters.
  • The coordinates of all objects are defined in the scan coordinate system.
  • The geometry of different elements is stored in a single OBJ file.
  • Objects are separated by names and groups.

2. Main Stone Model

  • The main stone is exported as a separate object named o stone.
  • The geometry is represented as a polygon mesh consisting of vertices (v) and faces (f).
  • Units of measurement are millimeters.
  • The vertices of the stone and inclusions share the same scan coordinate system.

3. Inclusion Models

  • Each inclusion is exported as a separate named object in the same OBJ file.
  • Example object name: o Inc1226 - (3D) VVS1.

4. Simplified OBJ Structure

# units: mm

o stone
v ...
v ...
f ...

o Inc1226 - (3D) VVS1
v ...
v ...
f ...

o Inc1227 - SI1
v ...
v ...
f ...

This is a schematic example of the structure: the ellipses represent geometry data and are not literal file contents.

Next

Convert an OBJ model to OX2Z