Moscow State University

Phone: +7 095 939-5906

Fax: +7 095 932-8815

octonus@next.msu.ru

Diamond calculator : Documentation
 

OctBrill.txt file format

This documents shows technical description of OctBrill.txt file format.

OctBrill.txt file is located in System subfolder of the folder where DiamCalc is installed. It contains price list for Brilliant cut.

Use a description below as a guideline for understanding the format of OctBrill file.In short, there is a set of tables for different mass groups (i.e. ranges of diamond mass). Each table defines prices per carat for each combination of diamond color and clarity. The software finds an appropriate table for a given diamond mass, then gets price per carat for given values of color and clarity from that table.

 
     
 
Let us look at first several lines of the file

; Price list for brilliant diamonds from OctoNus Software.

This line is a comment, as it begins with ';' symbol (semicolon). You can delete it or add additional comments anywhere in the file, putting them on a separate line and beginning it
with ';'. Comments are ignored by the software.


Tables: 19

The file consists of a set of tables, each one is for a certain range of diamond mass. The line above asserts that there are 19 tables. The tables data follows. If you decide to edit the file or create a similar file, e.g. to add a file for a specific cut type, please make sure that the number of tables is specified correctly.

Top of this page

 
     
 
After previous line, all tables are listed one by one.
They have similar formats, so let us see only the first one.

Format: clarity 8 5

The beginning of this line must be "Format: clarity".
After that, table dimensions follows (8 columns by 5 rows).


Mass: 0.01 0.03

This table is for diamonds with mass from 0.01 to 0.03 carat.


Magnify: 1

This line should be usually left intact. It sets the magnifier coefficient, i.e. if a value other than 1 will be specified, all prices will be multiplied by that value.


IF-VVS2
VS1-VS2
SI1
SI2
SI3
I1
I2
I3
D-F
765
675
615
530
480
440
330
165
G-H
675
625
580
505
450
400
300
150
I-J
560
520
480
440
400
340
255
130
K-L
405
370
330
295
270
240
195
105
M-N
300
270
240
220
195
175
150
75

The table consists of the following elements: captions on the left correspond to diamond colors, captions on the top are clarity values, and the table elements are prices per carat for that combination of color and clarity. For example, the upper left number (765) is on the intersection of "D-F" line and "IF-VVS2" column. It means that the price per carat of diamonds with color from D to F and clarity from IF to VVS2 is 765 (all prices are in US dollars).

 
     
 
The other tables are constructed similarly

...The rest of the file skipped...